My Oracle Support Banner

RewriteCond Using QUERY_STRING That Contains a "+" Character is not Processed Correctly (Doc ID 2395513.1)

Last updated on OCTOBER 02, 2024

Applies to:

Oracle HTTP Server - Version 12.1.2.0.0 to 12.2.1.3.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

When using RewriteCond and RewriteRule to redirect requests by Regular Expressions, redirects are not
occurring as expected when there is a "+" used.


The issue can be reproduced at will with the following steps:
1. Add a similar configuration as the following to the httpd.conf or other configuration file used by OHS.

 
2. A request to https://hostname:port//business/solutions?LOB=Cloud+and+Hosting+Services is not being redirected to /business/cloud-and-hosting.



Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.