Author: matevz
Date: Wed Mar 6 15:08:19 2013
New Revision: 1453375
URL: http://svn.apache.org/r1453375
Log:
Ref #357, 'admin' should also be on the ProductizedHref's blacklist
Modified:
incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/hooks.py
Modified:
incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/hooks.py
URL:
http://svn.apache.org/viewvc/incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/hooks.py?rev=1453375&r1=1453374&r2=1453375&view=diff
==============================================================================
---
incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/hooks.py
(original)
+++
incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/hooks.py
Wed Mar 6 15:08:19 2013
@@ -55,6 +55,7 @@ class ProductizedHref(Href):
if args:
# TODO: this should be done using regex or similar
if args[0] == 'chrome' or \
+ args[0] == 'admin' or \
args[0].startswith('js/') or \
args[0].startswith('css/') or\
args[0].startswith('img/') or\