Skip to content

Commit

Permalink
Merge branch 'master' into move_LockItem_with_zodbupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Apr 16, 2019
2 parents a80a634 + 196bd65 commit c458c3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/zdgbook/ObjectPublishing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -650,8 +650,8 @@ since this argument will be marshalled from the CGI environment first,
before the form data.

The publisher provides a number of additional special variables such
as ``URL``, ``URLn``, ``URLPATHn``, ``BASEPATHn`` and others, which are
derived from the request.
as ``URL``, ``URLn``, ``BASEn`` and others, which are derived from the
request.

Unfortunately, there is no current documentation for those variables.

Expand Down
2 changes: 1 addition & 1 deletion src/ZPublisher/HTTPRequest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@ def resolve_url(self, url):
# or raise the same HTTP error that would be raised in
# the case of a real web request. If the passed in url
# does not appear to describe an object in the system
# namespace (e.g. the host, port or script name dont
# namespace (e.g. the host, port or script name don't
# match that of the current request), a ValueError will
# be raised.
if url.find(self.script) != 0:
Expand Down

0 comments on commit c458c3d

Please sign in to comment.