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

[FR] Name Field Displayed as URL Encoded Text on Android Client Instead of Expected Value #1320

Open
05740682 opened this issue Sep 8, 2024 · 1 comment
Labels

Comments

@05740682
Copy link

05740682 commented Sep 8, 2024

Feature description

Description

In Hiddify version 2.3.1, when generating a QR code subscription link on the PC client, the name field displayed on the Android client after scanning the QR code does not appear correctly. Specifically, the name field shows %E5%85%8D%E8%B4%B9%E8%AE%A2%E9%98%851 instead of the expected 免费订阅1. This issue may be due to the URL encoding not being properly decoded during the process.

1
2

Steps to Reproduce

  1. Generate a QR code subscription link containing 免费订阅1 using the Hiddify 2.3.1 PC client.
  2. Scan the QR code using the Hiddify 2.3.1 Android client.
  3. The name field in the subscription is displayed as URL-encoded %E5%85%8D%E8%B4%B9%E8%AE%A2%E9%98%851 instead of 免费订阅1.

Expected Behavior

The name field should be displayed correctly as 免费订阅1.

Actual Behavior

The name field is displayed in its URL-encoded form as %E5%85%8D%E8%B4%B9%E8%AE%A2%E9%98%851.

Possible Cause

This issue might be related to how Hiddify handles URL encoding when generating the QR code on the PC client, or it could be due to a mismatch in how the Hiddify Android client decodes the URL-encoded content. Additional URL decoding might be necessary.

Additional Information

  • Hiddify Version: 2.3.1
@titancomputer
Copy link
Collaborator

PR welcomed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants