summaryrefslogtreecommitdiffstats
path: root/application/basilisk/base/content/tabbrowser.xml
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-02-28 14:16:09 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-02-28 14:16:09 +0100
commitf227feb6efbfa61c62cba88ab85df3c650311560 (patch)
tree1894f5e63b43ad6eca7270a0dedd7b0e678e403a /application/basilisk/base/content/tabbrowser.xml
parentc08b490c5c44f5f04049f408ad0848e9843f0702 (diff)
downloadUXP-f227feb6efbfa61c62cba88ab85df3c650311560.tar
UXP-f227feb6efbfa61c62cba88ab85df3c650311560.tar.gz
UXP-f227feb6efbfa61c62cba88ab85df3c650311560.tar.lz
UXP-f227feb6efbfa61c62cba88ab85df3c650311560.tar.xz
UXP-f227feb6efbfa61c62cba88ab85df3c650311560.zip
Update Basilisk FE code with HTTP Auth DoS protection.
Diffstat (limited to 'application/basilisk/base/content/tabbrowser.xml')
-rw-r--r--application/basilisk/base/content/tabbrowser.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/application/basilisk/base/content/tabbrowser.xml b/application/basilisk/base/content/tabbrowser.xml
index 043838020..c84c333c4 100644
--- a/application/basilisk/base/content/tabbrowser.xml
+++ b/application/basilisk/base/content/tabbrowser.xml
@@ -2991,7 +2991,10 @@
<parameter name="aTab"/>
<body>
<![CDATA[
- this.getBrowserForTab(aTab).reload();
+ let browser = this.getBrowserForTab(aTab);
+ // Reset DOS mitigation for basic auth prompt
+ delete browser.authPromptCounter;
+ browser.reload();
]]>
</body>
</method>