#5853 - Internal redirects failing with Forbidden error
| Identifier | #5853 |
|---|---|
| Issue type | Minor issue (breaks specific functionality) |
| Title | Internal redirects failing with Forbidden error |
| Status | Completed |
| Handling member | PDStig |
| Version | 10.0.47 |
| Addon | core |
| Description | This may be related to my hosting environment, but if so it is a new thing as I haven't had this issue before. Basically any links with ?redirect= throw this error. Removing the appended redirection loads the content as expected. |
| Steps to reproduce | |
| Related to | #5770 - Forms specifying a redirect in the action are blocked by CSP |
| Funded? | No |
| Commits |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".
Comments
mediafeeder.net [Fri Aug 09 21:58:02 2024] [error] [client 185.146.164.254:0] AH10508: Unsafe URL with %3f URL rewritten without UnsafeAllow3F
I'm re-opening this issue and assigning it to myself. Multiple people running v10 are reporting similar issues. I'm going to include a patch for 10.0.49.
Since the cms URL encode was last touched, we discovered additional characters which could get blocked by either mod_rewrite or ModSecurity, even when using urlencode, that must be specially encoded by Composr. These have already been implemented in v11.
The full list is now the following:
1) '/', '&', '#', '+', ' ' when outside the query string
2) '?', '=' when inside a query string parameter