view doc/license.txt @ 5161:12190efa30d4

I realized that the __came_from and __redirect_to url parameters I added to handle issues with the LoginAction and NewItemAction could be used for XSS or other purposes. So I check them using a new clean_url(url) function. This tries to validate that the url is under the tracker's base url and that the components of the url are properly url encoded. If it thinks something is wrong with the url, it will raise a ValueError. I decided to not attempt to fix the url's if there is an issue, better to bring it to the tracker admin's attention. Changed the code paths in NewItemAction and LoginAction that deal with the form parameters to use the clean_url function on the form input first.
author John Rouillard <rouilj@ieee.org>
date Sat, 23 Jul 2016 14:00:49 -0400
parents f22831a12ab8
children 8a73b0b12102
line wrap: on
line source

License
=======

Roundup is Free Software under the following license (from the file
COPYING.txt in the software distribution):

  .. include:: ../COPYING.txt
    :literal:

Roundup Issue Tracker: http://roundup-tracker.org/