-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apache update causes Drupal URLs with spaces and other special characters to fail #77
Comments
- See d6lts#77 "Apache update causes Drupal URLs with spaces and other special characters to fail"
Cross referencing my pull request for this issue. |
Just ran into this, but can't confirm adding the B solves this entirely. A big issue with this are "?destination=XXX?Y" URLs. Logs still say:
I wasn't able to find a fully working workaround yet. |
Update 2: As a super hacky and risky emergency fix you may use: Just saw the Typo3 community is hardly hit by this Apache fix. |
A recent update to Apache (2.4.52) will cause URLs with spaces and other special characters to fail. For example:
Go to https://example.com/search
Search for "this and that"
This will take you to: https://example.com/search/node/this and that
and a 403 Forbidden message
Adding a "B" flag to rewrite rules in the .htaccess file in the top directory of Drupal 6 fixes this:
From:
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
To:
RewriteRule ^(.*)$ index.php?q=$1 [B,L,QSA]
See: https://stackoverflow.com/questions/75684314/ah10411-error-managing-spaces-and-20-in-apache-mod-rewrite
The text was updated successfully, but these errors were encountered: