Skip to content

Commit

Permalink
Fix: Ignore unrecognised parameters
Browse files Browse the repository at this point in the history
Related to bobziuchkovski#4
  • Loading branch information
yaazkal authored May 14, 2022
1 parent 2685723 commit c1c8558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion digest.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func parseChallenge(input string) (*challenge, error) {
//TODO(gavaletz) should be an array of strings?
c.Qop = strings.Trim(r[1], qs)
default:
return nil, ErrBadChallenge
continue // any unrecognised parameters should be ignored
}
}
return c, nil
Expand Down

0 comments on commit c1c8558

Please sign in to comment.