operasoftware/robohydra — pull request #6 by palnes (2013-04-27 14:20:00+00:00)
Title: Sanitize filepath in utils.serveStaticFile()

Static files are often served with a cache-busting parameter, such as /static/js/foo.js?ver=abc123. This patch strips out any URL parameters using only the path section.