Catch all exceptions when failing to parse an Authorization header.

Review Request #6288 — Created Sept. 3, 2014 and submitted

Information

Djblets
release-0.8.x
e05a598...

Reviewers

Clients can send garbage Authorization headers that will trigger more
than just a ValueError. We want to treat any error as an auth failure,
so now we just catch all exceptions and log them.

None, but this is pretty trivial, and will catch the error being thrown
in some of the error logs we've seen.

reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        djblets/webapi/auth.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        djblets/webapi/auth.py
    
    
  2. 
      
david
  1. Ship It!

  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.8.x (da10c48)
Loading...