Submitted by anonymous - 2 years ago
Apache: if a url comes with & but without a ? starting the query param, replace the first & with a ?
If you got a malformed URL with a query string not starting with a question mark, this Apache rule will catch it and make a redirection, replacing the first ampersand with the mandatory question mark for a query string.
The negative lookahead will make sure that it don't replaces a well formed quer...