Skip to content

Use (?s) option in RewriteRules - #6

Merged
ninjapanzer merged 1 commit into
phalcon:masterfrom
fizbin:master
Aug 13, 2017
Merged

ninjapanzer merged 1 commit into
phalcon:masterfrom
fizbin:master

Conversation

@fizbin

@fizbin fizbin commented Jul 6, 2015

Copy link
Copy Markdown

The reason for doing this is that apparently some Apache binaries
are distributed linked to a PCRE library that considers character
0x85 a new line like character. On such Apache instances, the
redirect rules without (?s) will not work for URLs containing
characters that have a 0x85 byte in their UTF-8 expansion.

The reason for doing this is that apparently some Apache binaries
are distributed linked to a PCRE library that considers character
0x85 a new line like character. On such Apache instances, the
redirect rules without (?s) will not work for URLs containing
characters that have a 0x85 byte in their UTF-8 expansion.
@fizbin

fizbin commented Jul 6, 2015

Copy link
Copy Markdown
Author

For an example of someone struggling with this, and initially assuming it to be a bug in Phalcon, see http://stackoverflow.com/questions/31207949/

This change should also be then worked into the text of the explanation article.

@ninjapanzer
ninjapanzer merged commit 7b473ee into phalcon:master Aug 13, 2017
@ninjapanzer

Copy link
Copy Markdown
Contributor

Thank You! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants