yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #04443
[Bug 1202079] Re: home/ url pattern is too eager
** Changed in: horizon
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1202079
Title:
home/ url pattern is too eager
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
One of our users reported an excellent bug...
"""
If a bucket/container name , or any section of the key for any object end with the letter sequence 'home', then attempting to browse to it using the 'Object Store containers' page at https://dashboard.somecloud/project/containers/ dumps you back at the project home page at https://dashboard.somecloud/project/ .
For example: a container name of 'home-test' is OK, but 'home' or
'testhome' or 'test-home' are all broken.
Key names like 'test-home' or 'dummypath/test-home' or 'dummypath/test-home/morekey' are also all broken.
"""
In horizon/site_urls.py:
28 urlpatterns = patterns('horizon.views',
29 url(r'home/$', 'user_home', name='user_home')
30 )
home/ is matching anywhere in the URL.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1202079/+subscriptions