Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL encoding problem with the Uri Parts module #358

Open
3 tasks done
CloneWith opened this issue May 20, 2024 · 0 comments
Open
3 tasks done

URL encoding problem with the Uri Parts module #358

CloneWith opened this issue May 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@CloneWith
Copy link
Contributor

Steps to reproduce

  1. Use a URL with %25 inside. I used https://example.com?prefill_%25E6%259D%25A5%25E6%25BA%2590=%E5%B8%AE%E5%8A%A9%E4%B8%8E%E5%8F%8D%E9%A6%88&hide=true.
  2. In the Parameters section, remove the hide parameter.

Expected behavior

  1. Expected parameter: prefill_来源 -> 帮助与反馈
  2. Expected URL: https://example.com?prefill_%E6%9D%A5%E6%BA%90=%E5%B8%AE%E5%8A%A9%E4%B8%8E%E5%8F%8D%E9%A6%88

Actual behavior

  1. Before removing the parameter, saw: prefill_æ�¥æº� -> 帮助与反馈
  2. Actual URL: https://example.com?prefill_%C3%A6%C2%9D%C2%A5%C3%A6%C2%BA%C2%90=%E5%B8%AE%E5%8A%A9%E4%B8%8E%EF%BF%BD%C2%8D%E9%A6%88
  3. The URL was broken, just displaying the actual parameter shown above.

URLCheck version

2.15

Android version

Android 13

Android Custom/Specific ROM or Device

MIUI 14.0.10

Other details

I think the module / application didn't handle symbol % (i.e. %25 in URLs) properly. Or does it directly use the parameter from the module?

This case only appears in links with non-ASCII characters and %25s. What a strange issue.

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I will fill out all of the requested information in this form.
@CloneWith CloneWith added the bug Something isn't working label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant