Excess backslashes in Authorize URL
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- ruby
- Domain
- authentication, cli
Research direction
Start with the t authorize command and trace how it constructs the second Twitter app authorization URL. Reproduce the issue using the reported version details, then verify that the generated URL contains a single backslash before each \u0026 and opens the authorization page instead of an empty page.
Written by the indexing model from the issue text.
Description
When running t authorize, first URL that the script opens ("Twitter Developer site") is OK, but the second one ("Twitter app authorization page") has excess backslashes--two backslashes before each &, eg.:
http://some/url?foo=bar\\&baz=quux
instead of
http://some/url?foo=bar&baz=quux
This of course invalidates the URL, causing empty page (not a 4xx error...). Removing the backslashes seems to fix the problem.
Version details:
$ t --version 2.9.0 $ rpm -q xfce4-terminal firefox bash xfce4-terminal-0.6.3-3.fc21.x86_64 firefox-38.0.5-1.fc21.x86_64 bash-4.3.39-1.fc21.x86_64 $
- Dominant language
- Ruby
- Stars
- 5.6k
- Forks
- 402
- Avg merge
- 13h 50m
- Merged PRs (30d)
- 5
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sferik/x-cli
-
question
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
feature
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
feature
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Unlisted followings Openfeature
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Similar issues
-
バグ
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
voxpupuli/puppet-epel#186 · 1 comment ·
-
external_created_at is no longer used for the message timestamp since the new message UI (v4.4.0) OpenBug Frontend
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
TheOdinProject/curriculum#31402 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100