My Oracle Support Banner

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

Last updated on SEPTEMBER 15, 2022

Applies to:

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


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.


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

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