Skip to content

24 ways to impress your friends

Vote down?

Radu

The QSA flag isn’t necessary in your example, as the query string is preserved by default. It is only needed when the replacement URI also contains a query string, and you want to append the original string to it.