Closed (fixed)
Project:
Orejime
Version:
2.0.14
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Dec 2025 at 10:44 UTC
Updated:
19 Jan 2026 at 22:34 UTC
Jump to comment: Most recent
OrejimeManager::setOptIn() triggers a warning if the script contains a slash character:
Warning: preg_grep(): Unknown modifier 'o'
Create an Orejime service with this in the Scripts field:
core/modules/toolbar/js/toolbar.js
I think the delimiter parameter of preg_quote should be used to escape slashes.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
prudloff commentedComment #4
fabsgugu commentedThis is a bug that has been fixed in version 3.
I will look into fixing this bug in version 2 as well soon.
Comment #6
fabsgugu commented