[wp-trac] [WordPress Trac] #26827: Using ! (exclamation mark) in rewrite rules causes an error

WordPress Trac noreply at wordpress.org
Tue Jan 14 09:25:05 UTC 2014


#26827: Using ! (exclamation mark) in rewrite rules causes an error
---------------------------+------------------------------
 Reporter:  kapooostin     |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Rewrite Rules  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |
---------------------------+------------------------------
Description changed by ocean90:

Old description:

> An error is caused by exclamation marks used as regexp delimiters in wp-
> includes/rewrite.php, line 357 (WP 3.8).
>
> There was similar ticket prior to WP 3.0
> https://core.trac.wordpress.org/ticket/7486, that was closed.
>
> Maybe using ` as the delimiter would be more bulletproof.

New description:

 An error is caused by exclamation marks used as regexp delimiters in wp-
 includes/rewrite.php, line 357 (WP 3.8).

 There was similar ticket prior to WP 3.0 #7486, that was closed.

 Maybe using ` as the delimiter would be more bulletproof.

--

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26827#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list