Skip to content

Fixed exception with blank redirect_uri(blank string)#42

Open
trezorg wants to merge 5 commits into
hiidef:developfrom
trezorg:develop
Open

Fixed exception with blank redirect_uri(blank string)#42
trezorg wants to merge 5 commits into
hiidef:developfrom
trezorg:develop

Conversation

@trezorg
Copy link
Copy Markdown
Contributor

@trezorg trezorg commented Apr 2, 2013

Hello. If redirect_uri parameter presents in url but is blank(redirect_uri=&scope....) then
there is the exception in url_normalize function:

if url[0] not in ['/', '-'] and ':' not in url[:7]:
IndexError: string index out of range

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants