Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Commit

Permalink
KSH: Add exclusion for /Statinfo/ (#19855)
Browse files Browse the repository at this point in the history
* KSH: Add exclusion for /Statinfo/

Using HTTPS for these paths causes a 404 error. HTTP works fine.

* Implement suggested changes

* Update src/chrome/content/rules/KSH.xml

Co-authored-by: J0WI <J0WI@users.noreply.github.com>

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
  • Loading branch information
qtlunya and J0WI authored Jan 31, 2021
1 parent e04fe5b commit 87ccd80
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/chrome/content/rules/KSH.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@

<rule from="^http://(?:www\.)?ksh\.hu/"
to="https://www.ksh.hu/" />

<!-- These pages return a 404 error when requested over HTTPS -->
<exclusion pattern="^http://statinfo\.ksh\.hu/Statinfo/" />
<test url="http://statinfo.ksh.hu/Statinfo/" />
<test url="http://statinfo.ksh.hu/Statinfo/themeSelector.jsp?lang=hu" />
<test url="http://statinfo.ksh.hu/Statinfo/QueryServlet?ha=TA2019_W" />

<rule from="^http://(statinfo|elektra)\.ksh\.hu/"
to="https://$1.ksh.hu/" />
Expand Down

0 comments on commit 87ccd80

Please sign in to comment.