How to get &curren to display literally, not as an HTML entity

Solution 1:

Funny enough I ran into the same problem just now and I found this answer. However, I found another solution which might even be better!

Simply put the variable at the beginning of your query string, and you will avoid the &curren completely.

Do:

https://site.com/bacon_report?currentDimension=2&Id=1&report=1&param=1

instead of:

https://site.com/bacon_report?Id=1&report=1&currentDimension=2&param=1

Solution 2:

Use the php function urlencode:

urlencode("https://site.com/bacon_report?Id=1&report=1&currentDimension=2&param=1"

will output

https%3A%2F%2Fsite.com%2Fbacon_report%3FId%3D1%26report%3D1%26currentDimension%3D2%26param%3D1