Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

URL Encoding Rules in QR Code Generator

New Here ,
Feb 18, 2025 Feb 18, 2025

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.

Bug Unresolved
TOPICS
Android , Desktop Web , iOS
226
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 Comment
Adobe Employee ,
Feb 19, 2025 Feb 19, 2025
LATEST

Hi @monolith-jaehoon

Thanks for sharing this. I'll report the issue to our developers.


Best,
Dave

Translate
Report