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
bdea79a8
Commit
bdea79a8
authored
Aug 21, 2002
by
Chris McDonough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turn URL-munging off by default.
parent
9b95134c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
lib/python/Products/Sessions/BrowserIdManager.py
lib/python/Products/Sessions/BrowserIdManager.py
+5
-5
lib/python/Products/Sessions/dtml/addIdManager.dtml
lib/python/Products/Sessions/dtml/addIdManager.dtml
+1
-1
No files found.
lib/python/Products/Sessions/BrowserIdManager.py
View file @
bdea79a8
...
...
@@ -11,7 +11,7 @@
#
############################################################################
__version__
=
'$Revision: 1.1
6
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
7
$'
[
11
:
-
2
]
import
Globals
from
Persistence
import
Persistent
from
ZODB
import
TimeStamp
...
...
@@ -51,7 +51,7 @@ TRAVERSAL_APPHANDLE = 'BrowserIdManager'
def constructBrowserIdManager(
self, id=BROWSERID_MANAGER_NAME, title='', idname='
_ZopeId
',
location=('
cookies
', '
url
', '
form
'), cookiepath='
/
', cookiedomain='',
location=('
cookies
', '
form
'), cookiepath='
/
', cookiedomain='',
cookielifedays=0, cookiesecure=0, auto_url_encoding=0, REQUEST=None
):
""" """
...
...
@@ -94,7 +94,7 @@ class BrowserIdManager(Item, Persistent, Implicit, RoleManager, Owned, Tabs):
auto_url_encoding = 0
def __init__(self, id, title='', idname='
_ZopeId
',
location=('
cookies
', '
url
', '
form
'), cookiepath=('
/
'),
location=('
cookies
', '
form
'), cookiepath=('
/
'),
cookiedomain='', cookielifedays=0, cookiesecure=0,
auto_url_encoding=0):
self.id = str(id)
...
...
@@ -257,7 +257,7 @@ class BrowserIdManager(Item, Persistent, Implicit, RoleManager, Owned, Tabs):
security
.
declareProtected
(
CHANGE_IDMGR_PERM
,
'manage_changeBrowserIdManager'
)
def
manage_changeBrowserIdManager
(
self
,
title
=
''
,
idname
=
'_ZopeId'
,
location
=
(
'cookies'
,
'form'
,
'url'
),
self
,
title
=
''
,
idname
=
'_ZopeId'
,
location
=
(
'cookies'
,
'form'
),
cookiepath
=
'/'
,
cookiedomain
=
''
,
cookielifedays
=
0
,
cookiesecure
=
0
,
auto_url_encoding
=
0
,
REQUEST
=
None
):
...
...
@@ -288,7 +288,7 @@ class BrowserIdManager(Item, Persistent, Implicit, RoleManager, Owned, Tabs):
return
self
.
browserid_name
security
.
declareProtected
(
CHANGE_IDMGR_PERM
,
'setBrowserIdNamespaces'
)
def
setBrowserIdNamespaces
(
self
,
ns
=
(
'cookies'
,
'form'
,
'url'
)
):
def
setBrowserIdNamespaces
(
self
,
ns
):
"""
accepts list of allowable browser id namespaces
"""
...
...
lib/python/Products/Sessions/dtml/addIdManager.dtml
View file @
bdea79a8
...
...
@@ -75,7 +75,7 @@ by interacting with the Zope sessioning machinery.
</tr>
<tr>
<td align=left>
<input type="checkbox" name="location:list" value="url"
CHECKED
> URLs
<input type="checkbox" name="location:list" value="url"> URLs
</td>
</tr>
</table>
...
...
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