diff options
author | Simo Sorce <simo@redhat.com> | 2014-05-20 15:20:43 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2014-05-20 16:29:44 -0400 |
commit | 8d082183f55722777ef2ff4baaa0af9962c3ab2e (patch) | |
tree | e3539fca111c0aa4b7d8524455c817fec6cc0f84 /templates | |
parent | 4fbacd9897dfcdcb23a325e78f837d9f8d372cb6 (diff) | |
download | ipsilon-8d082183f55722777ef2ff4baaa0af9962c3ab2e.tar.gz ipsilon-8d082183f55722777ef2ff4baaa0af9962c3ab2e.tar.xz ipsilon-8d082183f55722777ef2ff4baaa0af9962c3ab2e.zip |
Fix referer checks with escaped URLs
When a SP name included spaces the referer checker would fail to match
the url. It would try to return a 403 error, unfortunately this would
also trip as a return instead of an exception was used, ending up with
a 500 error being returned to the user.
Fix url checks by unquoting before comparing.
Fix error reporting by rasing an exception when needed instead of
returning.
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'templates')
0 files changed, 0 insertions, 0 deletions