View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001455 | SOGo | Backend General | public | 2011-10-06 09:20 | 2012-07-23 15:06 |
Reporter | jmkjfc | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.3.8a | ||||
Fixed in Version | 1.3.17 | ||||
Summary | 0001455: CAS authentication : cas-proxy-validate.py should accept empy parameters | ||||
Description | CAS use the following steps when validateing a proxy ticket : The fist step fails when using cas-proxy-validate.py as the code does not accept empty parameters. Attached patch correct this behavior | ||||
Tags | No tags attached. | ||||
2011-10-06 09:20
|
cas-proxy-validate.py.diff (592 bytes)
*** /dev/shm/cas-proxy-validate.py 2011-10-06 10:48:11.189232230 +0200 --- /dev/shm/cas-proxy-validate2.py 2011-10-06 11:07:07.094871738 +0200 *************** *** 43,48 **** --- 43,52 ---- 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") |
This patch works well for me and is necessary. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2011-10-06 09:20 | jmkjfc | New Issue | |
2011-10-06 09:20 | jmkjfc | File Added: cas-proxy-validate.py.diff | |
2011-10-12 13:29 | Orchal | Note Added: 0002887 | |
2012-07-23 15:06 | ludovic | Note Added: 0004202 | |
2012-07-23 15:06 | ludovic | Status | new => closed |
2012-07-23 15:06 | ludovic | Resolution | open => fixed |
2012-07-23 15:06 | ludovic | Fixed in Version | => 1.3.17 |