Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
3b04528b
Commit
3b04528b
authored
Sep 01, 2007
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parent
b8c8cb53
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
doc/CHANGES.txt
doc/CHANGES.txt
+2
-0
lib/python/ZServer/FCGIServer.py
lib/python/ZServer/FCGIServer.py
+2
-5
No files found.
doc/CHANGES.txt
View file @
3b04528b
...
...
@@ -8,6 +8,8 @@ Zope Changes
Bugs fixed
- Collector #2346: username logging in FCGI crashed the server
- ZopePageTemplate's pt_edit did not recognize content type arguments
which had a charset information included.
...
...
lib/python/ZServer/FCGIServer.py
View file @
3b04528b
...
...
@@ -456,18 +456,15 @@ class FCGIChannel(asynchat.async_chat):
method
=
self
.
env
[
'REQUEST_METHOD'
]
else
:
method
=
"GET"
user_name
=
'-'
if
self
.
env
.
has_key
(
'HTTP_AUTHORIZATION'
):
http_authorization
=
self
.
env
[
'HTTP_AUTHORIZATION'
]
if
string
.
lower
(
http_authorization
[:
6
])
==
'basic '
:
try
:
decoded
=
base64
.
decodestring
(
http_authorization
[
6
:])
except
base64
.
binascii
.
Error
:
decoded
=
''
t
=
string
.
split
(
decoded
,
':'
,
1
)
if
len
(
t
)
<
2
:
user_name
=
'-'
else
:
if
len
(
t
)
>=
2
:
user_name
=
t
[
0
]
else
:
user_name
=
'-'
if
self
.
addr
:
self
.
server
.
logger
.
log
(
self
.
addr
[
0
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment