Skip to content

Commit

Permalink
proxy plugin: Fixed bug causing internal URLs to leak
Browse files Browse the repository at this point in the history
  • Loading branch information
Zapotek committed Jun 6, 2013
1 parent 392493e commit 2510eca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/proxy.rb
Expand Up @@ -107,7 +107,7 @@ def prepare_pages_for_inspection
def request_handler( req, res )
url = req.request_uri.to_s

if skip_path?( url )
if !url.start_with?( url_for( :panel ) ) && skip_path?( url )
print_info "Ignoring, out of scope: #{url}"
return true
end
Expand Down

0 comments on commit 2510eca

Please sign in to comment.