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
1643f4b4
Commit
1643f4b4
authored
Jul 11, 1996
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug in new feature: 'AUTHENTICATED_USER'
parent
ec9b1a4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
lib/python/ZPublisher/Publish.py
lib/python/ZPublisher/Publish.py
+6
-2
No files found.
lib/python/ZPublisher/Publish.py
View file @
1643f4b4
...
...
@@ -444,7 +444,7 @@ Publishing a module using the ILU Requestor (future)
o Configure the web server to call module_name@server_name with
the requestor.
$Id: Publish.py,v 1.
6 1996/07/10 22:53:54
jfulton Exp $"""
$Id: Publish.py,v 1.
7 1996/07/11 19:39:07
jfulton Exp $"""
#'
# Copyright
#
...
...
@@ -497,6 +497,9 @@ $Id: Publish.py,v 1.6 1996/07/10 22:53:54 jfulton Exp $"""
# (540) 371-6909
#
# $Log: Publish.py,v $
# Revision 1.7 1996/07/11 19:39:07 jfulton
# Fixed bug in new feature: 'AUTHENTICATED_USER'
#
# Revision 1.6 1996/07/10 22:53:54 jfulton
# Fixed bug in use of default realm.
#
...
...
@@ -520,7 +523,7 @@ $Id: Publish.py,v 1.6 1996/07/10 22:53:54 jfulton Exp $"""
#
#
#
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
def
main
():
...
...
@@ -584,6 +587,7 @@ class ModulePublisher:
try
:
user
=
realm
.
validate
(
self
.
env
(
"HTTP_AUTHORIZATION"
),
groups
)
self
.
request
[
'AUTHENTICATED_USER'
]
=
user
return
user
except
:
try
:
t
,
v
,
tb
=
sys
.
exc_type
,
sys
.
exc_value
,
sys
.
exc_traceback
...
...
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