Skip to content
This repository has been archived by the owner on Jun 16, 2024. It is now read-only.

Commit

Permalink
trying request uri parser
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanwietsma committed Dec 1, 2014
1 parent 56d2947 commit 0b40af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uri.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (k Key) ToURI() string {
// Parse OTPAUTH URI into Key attributes.
func (k *Key) FromURI(uri string) error {

u, err := url.Parse(uri)
u, err := url.ParseRequestURI(uri)
if err != nil {
return err
}
Expand Down

0 comments on commit 0b40af9

Please sign in to comment.