Skip to content

Commit

Permalink
[fc] Repository: plone.app.content
Browse files Browse the repository at this point in the history
Branch: refs/heads/master
Date: 2016-10-07T00:41:52-05:00
Author: Johannes Raggam (thet) <[email protected]>
Commit: plone/plone.app.content@8eb204b

Fix get_top_site_from_url, Issue #103.
Fix issue with ``get_top_site_from_url``, where in some circumstances a ValueError was thrown.
If that happens, just return ``getSite``.
You will only notice, if you have subsites, access them non-VirtualHost-rooted and an error is thrown.
Then folder contents won't be able to navigate up to the root Plone site.
Fixes #103.

Files changed:
M CHANGES.rst
M plone/app/content/browser/contents/__init__.py
Repository: plone.app.content
Branch: refs/heads/master
Date: 2016-10-07T02:54:11-05:00
Author: Johannes Raggam (thet) <[email protected]>
Commit: plone/plone.app.content@ac1275f

Merge pull request #110 from plone/thet-fix103

Fix get_top_site_from_url, Issue #103.

Files changed:
M CHANGES.rst
M plone/app/content/browser/contents/__init__.py
  • Loading branch information
thet committed Oct 7, 2016
1 parent b17ce1e commit 4fa8c16
Showing 1 changed file with 89 additions and 632 deletions.
Loading

0 comments on commit 4fa8c16

Please sign in to comment.