I am passing a string to the 'pathname' property of a dcc.Location component in a callback function of my dash app. The string is structured like 'path?query1=test' When it actually runs, the '?' gets url encoded automatically and the browser does not interpret it correctly. I have tried to url encode the question mark myself but it also fails. How can I force it to just use whatever I send straight away without url encoding anything? Or how to make it work as intended? Continue reading...