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