URL encode error on share link : using non authorized characters ! And fail opening well formatted URL. #1052
Labels
No labels
android: closed alpha
android: open beta
app-parity
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
creator
Epic
good first issue
hacktoberfest
help wanted
icebox
Invalid
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
product review
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
LBRYCommunity/lbry-android#1052
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Share link not encoded
Steps to reproduce
Expected behavior
The link should be URL encoded
Actual behavior
the link is not encoded and contain not allowed characters, like utf-8 icon, ! : ...
Not open well encoded links
Steps to reproduce
Expected behavior
link decode, open content
Actual behavior
link not decoded, content not found
Is it happening on any video or on a few of them?
Can you give us an example of a URL that's happening on? We may need to encode the claim name on the share portion. We just added that on the lbry.tv/odysee side.
On android app: I click Share button, like generated :
https://lbry.tv/La-Peur,-Nos-Attentats,-c'est-VOTRE-Sécurité!-Les-Guignols#6
As you can see, the link contain not url allowed caraters like :
,!,é'there characters must be urlencoded.
Secondly, if I urlencode the link to :
https://lbry.tv/La-Peur%2C-Nos-Attentats%2C-c%27est-VOTRE-Se%CC%81curite%CC%81%21-Les-Guignols#6
This link can't be open by android app,
but mobiles & desktop browsers can.
So link is not urldecoded on android app.
This bug appear on all videos with not allowed characters (many).
It cause problems to share the link, because other apps can't parse the link correctly and break on first not allowed characters.
https://tools.ietf.org/html/rfc8820