mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-12 02:11:23 +00:00
Added fix for bug #1455
Monotone-Parent: 95a335681530001430a12707d05dbed7839214fb Monotone-Revision: 74e79fa391e19c2111663aba07a783fd4cdd19bd Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2012-07-23T13:50:14
This commit is contained in:
@@ -43,6 +43,10 @@ class CASProxyValidator:
|
||||
def _runAsCGI(self):
|
||||
if self._cgiChecks():
|
||||
form = cgi.FieldStorage()
|
||||
if form.list == []:
|
||||
message = "Empty parameters : assuming cert. validation"
|
||||
self._printCGIError(message, 200)
|
||||
return
|
||||
if form.has_key("pgtId") and form.has_key("pgtIou"):
|
||||
pgtIou = form.getfirst("pgtIou")
|
||||
pgtId = form.getfirst("pgtId")
|
||||
|
||||
Reference in New Issue
Block a user