RSS Feed/News New URL romanization options do not enforce intl extension properly

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
26,134
Points
823

Reputation:

The new options require the intl extension, per release notes. However, if you don't have the intl extension, it is still possible to enable the options, which results in errors such as {Emoji} regex property not existing, null URLs, etc.
An exception occurred: [ErrorException] [E_WARNING] preg_replace_callback(): Compilation failed: unknown property name after \P or \p at offset 9 in src/XF/Str/Formatter.php on line 417
If (not sure) timing causes that error to make preg_replace_callback return null...

Read more

Continue reading...
 
Status
Not open for further replies.
Top