hiidef/oauth2app — pull request #42 by trezorg (2013-04-02 19:18:09+00:00)
Title: Fixed exception with blank redirect_uri(blank string)

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