Make the security checklist consider HTTP 403 as a correct response.

Review Request #5884 — Created May 27, 2014 and submitted

Information

Review Board
release-2.0.x
fc6bc9b...

Reviewers

Some web server configurations may return HTTP 403 when trying to access
certain filetypes. In this case, we should consider that an acceptable response
when testing whether dangerous files can be executed.

Jury rigged up something to throw a 403 HTTPError for a certain file extension.
Saw that before this change, I could reproduce the bug. After, it claims that
everything passes.

reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/admin/security_checks.py
      Ignored Files:
    
    
  2. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
        reviewboard/admin/security_checks.py
      Ignored Files:
    
    
  2. 
      
chipx86
  1. Ship It!

  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.0.x (c458ae9)