diff options
Diffstat (limited to '05.md')
| -rw-r--r-- | 05.md | 7 |
1 files changed, 7 insertions, 0 deletions
| @@ -71,3 +71,10 @@ Access-Control-Allow-Origin: * | |||
| 71 | Users should ensure that their `/.well-known/nostr.json` is served with the HTTP header `Access-Control-Allow-Origin: *` to ensure it can be validated by pure JS apps running in modern browsers. | 71 | Users should ensure that their `/.well-known/nostr.json` is served with the HTTP header `Access-Control-Allow-Origin: *` to ensure it can be validated by pure JS apps running in modern browsers. |
| 72 | 72 | ||
| 73 | [CORS]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS | 73 | [CORS]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS |
| 74 | |||
| 75 | ### Security Constraints | ||
| 76 | |||
| 77 | The `/.well-known/nostr.json` endpoint MUST NOT return any HTTP redirects. | ||
| 78 | |||
| 79 | Fetchers MUST ignore any HTTP redirects given by the `/.well-known/nostr.json` endpoint. | ||
| 80 | |||