httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srinivas Reddy <>
Subject [users@httpd] How to pass query string as encoded value to another parameter?
Date Tue, 05 Sep 2017 17:11:19 GMT
down votefavorite

In my use case, I need to encode {QUERY_STRING} value and pass this value
as a separate parameter. Here it is how it should work:

The URL can have n number of parameters and values may contain special
characters and value is an alphanumeric string.

I need to transform the URL to:

I added parameter called originalQP and it should be always encoded.

How can I get this encoded string using mod rewrite flags?

I tried using B and NE flags but neither of them worked. I am not getting
'&' being encoded in the transformed URL instead originalQP value is being
passed as param1=value1.

How can I get complete value?

View raw message