Skip to content

Commit 7fdd1d0

Browse files
committed
Fix not being able to find X-SAT-Sig header, bump 1.3.2
1 parent b75526c commit 7fdd1d0

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

Diff for: webext/CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
88

99
Nothing
1010

11+
## v1.3.2 - 2019-03-28
12+
13+
### Fixed
14+
15+
- Something changed underneath me, and now Firefox seems to preserve the
16+
CaPiTaLiZaTiOn of header names instead of lowering them. We weren't finding
17+
the X-SAT-Sig header because we were looking for x-sat-sig. Fix this by
18+
.toLowerCase()-ing the header from Firefox.
19+
1120
## v1.3.1 - 2019-03-05
1221

1322
### Changed

Diff for: webext/lib/header.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
function _getHeader(headers, name) {
22
for (let header of headers) {
3-
if (header.name == name.toLowerCase()) {
3+
if (header.name.toLowerCase() == name.toLowerCase()) {
44
return header.value;
55
}
66
}

Diff for: webext/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 2,
33
"name": "SAT Domain Tools",
4-
"version": "1.3.1",
4+
"version": "1.3.2",
55
"description": "Self-authenticating Traditional domains weave self-authentication into the web",
66
"browser_specific_settings": {
77
"gecko": {

0 commit comments

Comments
 (0)