Hi.
I’m posting this because I believe I’ve found a bug in the QR Code Generator.
After using it multiple times, I noticed that the generator automatically applies URL encoding to the values of parameters in a URL. This seems to be a general approach, likely intended to ensure that characters not allowed in URLs are properly encoded.
However, there are cases where the parameter values are already URL-encoded before being passed into the QR Code Generator. This can happen when trying to pass a URL parameter to another destination. For example:
https://qrtest.test/endpoint?params=p1%3Dabc%26p2%3Ddef
When processed by the QR Code Generator, the parameter values are URL-encoded again, leading to the following URL in the generated QR code:
https://qrtest.test/endpoint?params=p1%253Dabc%2526p2%253Ddef
While I understand the reasoning behind encoding parameter values by default, this behavior causes issues when the input already contains URL-encoded values. Since this is likely not the intended outcome, I believe it should be considered a bug.