--- a/tests/test-hgweb.t Thu May 31 18:39:35 2018 +0800
+++ b/tests/test-hgweb.t Thu May 31 18:53:28 2018 +0800
@@ -816,6 +816,10 @@
[1]
$ get-with-headers.py localhost:$HGPORT 'file/tip/da?style=monoblue' | grep -F '[up]'
<a href="/file/tip/?style=monoblue">[up]</a>
+ $ get-with-headers.py localhost:$HGPORT 'file/tip?style=spartan' | grep -F '[up]'
+ [1]
+ $ get-with-headers.py localhost:$HGPORT 'file/tip/da?style=spartan' | grep -F '[up]'
+ <a href="/file/tip/?style=spartan">[up]</a>
no style can be loaded from directories other than the specified paths