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
835d90b2
Commit
835d90b2
authored
Jun 13, 1997
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug in computation of transaction info that made user
authentication required.
parent
9d49fa3f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
9 deletions
+15
-9
lib/python/ZPublisher/Publish.py
lib/python/ZPublisher/Publish.py
+15
-9
No files found.
lib/python/ZPublisher/Publish.py
View file @
835d90b2
...
...
@@ -518,7 +518,7 @@ Publishing a module using Fast CGI
o Configure the Fast CGI-enabled web server to execute this
file.
$Id: Publish.py,v 1.4
3 1997/05/14 15:07:22
jim Exp $"""
$Id: Publish.py,v 1.4
4 1997/06/13 16:02:10
jim Exp $"""
#'
# Copyright
#
...
...
@@ -572,7 +572,7 @@ $Id: Publish.py,v 1.43 1997/05/14 15:07:22 jim Exp $"""
#
# See end of file for change log.
#
__version__
=
'$Revision: 1.4
3
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.4
4
$'
[
11
:
-
2
]
def
main
():
...
...
@@ -825,16 +825,18 @@ class ModulePublisher:
self
.
validate
(
groups
,
realm
)
# Attempt to start a transaction:
try
:
transaction
=
get_transaction
()
try
:
transaction
=
get_transaction
()
except
:
transaction
=
None
if
transaction
is
not
None
:
info
=
"
\
t
"
+
self
.
env
(
'PATH_INFO'
)
try
:
u
=
self
.
request
[
'AUTHENTICATED_USER'
]
try
:
u
=
"%s.%s"
%
(
u
,
self
.
request
[
'session__domain'
])
except
:
pass
try
:
info
=
u
+
info
except
:
pass
except
:
pass
transaction
.
begin
(
info
)
except
:
transaction
=
None
# Now get object meta-data to decide if and how it should be
# called:
...
...
@@ -1621,6 +1623,10 @@ def publish_module(module_name,
#
# $Log: Publish.py,v $
# Revision 1.44 1997/06/13 16:02:10 jim
# Fixed bug in computation of transaction info that made user
# authentication required.
#
# Revision 1.43 1997/05/14 15:07:22 jim
# Added session domain to user id, for generating session info.
#
...
...
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