@stonyx/oauth 0.1.1-alpha.18 → 0.1.1-alpha.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -98,8 +98,11 @@ because `Host` is attacker-controllable from any non-browser client.
98
98
  Exempt, and nothing else:
99
99
 
100
100
  - `localhost` (case-insensitive)
101
- - any address in `127.0.0.0/8` — a dotted quad of four decimal octets whose
102
- first is `127`, so `127.0.0.2` is exempt and `127.evil.com` is not
101
+ - any address in `127.0.0.0/8` — a dotted quad of **four** decimal octets whose
102
+ first is `127`, so `127.0.0.2` is exempt and `127.evil.com` is not. The
103
+ resolver shorthands `127.1` and `127.0.0` are *not* exempt: accepting a
104
+ variable number of octets is how a membership test decays back into a prefix
105
+ match. Use the full form
103
106
  - `::1` (and its expanded form), and the IPv4-mapped loopback spellings
104
107
  `::ffff:127.0.0.1` and `::ffff:7f00:1`
105
108
  - the wildcard bind addresses `0.0.0.0` and `::`
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "stonyx-async",
5
5
  "stonyx-module"
6
6
  ],
7
- "version": "0.1.1-alpha.18",
7
+ "version": "0.1.1-alpha.19",
8
8
  "description": "OAuth2 authentication module for the Stonyx framework",
9
9
  "repository": {
10
10
  "type": "git",