Skip to content

Commit

Permalink
proxy plugin: Fixed error on login sequence recording
Browse files Browse the repository at this point in the history
[Closes #880]
  • Loading branch information
Zapotek committed May 5, 2017
1 parent 77611a4 commit d7278c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
- Active
- `xss` -- Fixed proof data to return HTML.
- `csrf` -- Disabled for pages with DOM transitions due to FPs.
- Plugins
- `proxy` -- Fixed error on login sequence recording.

## 1.5.1 _(March 29, 2017)_

Expand Down
3 changes: 2 additions & 1 deletion components/plugins/proxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,10 @@ def request_handler( req, res )
res.code = 200

if url.start_with? url_for( :panel )
TemplateScope.get.set :pages, prepare_pages_for_inspection

body = case '/' + res.parsed_url.path.split( '/' )[2..-1].join( '/' )
when '/'
TemplateScope.get.set :pages, prepare_pages_for_inspection
erb :panel

when '/vectors.yml'
Expand Down

0 comments on commit d7278c1

Please sign in to comment.