rapid7/metasploit-framework — pull request #3383 by wchen-r7 (2014-05-22 17:48:25+00:00)
Title: Fix URIPATH / for BrowserExploitServer

This fixes a bug with request.uri being "" when URIPATH is set to /

It was originally reported here:
https://twitter.com/yadolee/status/469388288550109184

Redmine:
https://dev.metasploit.com/redmine/issues/8804

To verify the patch:

- [ ] Use a browser exploit that uses the BrowserExploitServer mixin.
- [ ] set URIPATH to /
- [ ] Make sure you get a shell

Also verify:

- [ ] Use the same or a different browser exploit that uses BrowserExploitServer
- [ ] Make sure this time you don't modify URIPATH, so it should generate a random one for you.
- [ ] Make sure you get a shell.