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
af7d7e3b
Commit
af7d7e3b
authored
Jan 15, 1998
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a missing paren in a regex that got checked in somehow
parent
69201a89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/python/ZPublisher/Response.py
lib/python/ZPublisher/Response.py
+3
-3
No files found.
lib/python/ZPublisher/Response.py
View file @
af7d7e3b
...
...
@@ -3,7 +3,7 @@
__doc__
=
'''CGI Response Output formatter
$Id: Response.py,v 1.2
4 1998/01/14 16:32:56 jim
Exp $'''
$Id: Response.py,v 1.2
5 1998/01/15 20:20:03 brian
Exp $'''
# Copyright
#
# Copyright 1996 Digital Creations, L.C., 910 Princess Anne
...
...
@@ -53,7 +53,7 @@ $Id: Response.py,v 1.24 1998/01/14 16:32:56 jim Exp $'''
# Digital Creations, info@Digicool.com
# (540) 371-6909
#
__version__
=
'$Revision: 1.2
4
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.2
5
$'
[
11
:
-
2
]
import
string
,
types
,
sys
,
regex
,
regsub
from
string
import
find
,
rfind
,
lower
,
upper
,
strip
,
split
,
join
...
...
@@ -273,7 +273,7 @@ class Response:
self
.
insertBase
()
def
insertBase
(
self
,
base_re
=
regex
.
compile
(
'<base[
\
0
- ]+[^>]+>
\
)
'
,
base_re
=
regex
.
compile
(
'
\
(
<
b
ase[
\
0
- ]+[^>]+>
\
)
'
,
regex.casefold)
):
if (self.headers.has_key('
content
-
type
') and
...
...
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