Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed url param sep #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Products/zms/_deprecatedapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,11 +380,11 @@ def aggregate_list(self, l, i):
warn(self, 'aggregate_list', 'Products.zms.standard.aggregate_list')
return standard.aggregate_list(l, i)

def url_append_params(self, url, dict, sep='&'):
def url_append_params(self, url, dict, sep='&'):
warn(self, 'url_append_params', 'Products.zms.standard.url_append_params')
return standard.url_append_params(url, dict, sep)

def url_inherit_params(self, url, REQUEST, exclude=[], sep='&'):
def url_inherit_params(self, url, REQUEST, exclude=[], sep='&'):
warn(self, 'url_inherit_params', 'Products.zms.standard.url_inherit_params')
return standard.url_inherit_params(url, REQUEST, exclude, sep)

Expand Down
4 changes: 2 additions & 2 deletions Products/zms/standard.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def umlaut_quote(s, mapping={}):


security.declarePublic('url_append_params')
def url_append_params(url, dict, sep='&'):
def url_append_params(url, dict, sep='&'):
"""
Append params from dict to given url.
@param url: Url
Expand Down Expand Up @@ -368,7 +368,7 @@ def url_append_params(url, dict, sep='&'):


security.declarePublic('url_inherit_params')
def url_inherit_params(url, REQUEST, exclude=[], sep='&'):
def url_inherit_params(url, REQUEST, exclude=[], sep='&'):
"""
Inerits params from request to given url.
@param url: Url
Expand Down