Commit Graph

18 Commits

Author SHA1 Message Date
Julian Lam
6478532bf5 fix: ensure check returns false if no addresses are looked up, fix bug where cached value got changed accidentally 2025-06-05 11:28:47 -04:00
Julian Lam
010113a9a0 fix: wrap cached returns for dns lookups in nextTick 2025-06-04 13:19:33 -04:00
Julian Lam
a8e613e13a fix: further guard against DNS rebinding attack 2025-06-02 11:05:35 -04:00
Julian Lam
70c04f0cb2 fix: undefined check, allow plugins to append to allow list 2025-06-02 11:05:35 -04:00
Julian Lam
df36021628 fix: simplify dns to use .lookup instead of .resolve4 and .resolve6, automatically allow requests to own hostname 2025-06-02 11:05:35 -04:00
Julian Lam
9d3b8c3abc feat: add protection mechanism to request lib so that network requests to reserved IP ranges throw an error 2025-06-02 11:05:35 -04:00
Julian Lam
c3e9cb68e0 feat: #13066, report canonical URL in user agent for outgoing requests 2025-01-22 13:26:29 -05:00
Julian Lam
3340720e3d fix: get version directly from package.json 2024-12-11 10:24:37 -05:00
Julian Lam
64339e6149 fix: set a user-agent when sending requests 2024-12-04 15:16:26 -05:00
Julian Lam
3d83a1752e Merge remote-tracking branch 'origin/develop' into activitypub 2024-02-26 16:32:45 -05:00
Barış Soner Uşaklı
fadee8d72c chore: closes #12355 2024-02-22 11:49:11 -05:00
Opliko
2ce14f5019 refactor: guard dispatcher definition so non-Node runtimes won't have issues 2024-01-22 18:05:27 -05:00
Opliko
2cb370882b fix: add workaround for nodejs/undici#1305 required to remove sec-fetch-mode header 2024-01-22 18:05:27 -05:00
Julian Lam
4b87c30f62 fix: bug where body wasn't properly sent on ap-style content-types 2023-12-22 15:53:21 -05:00
Julian Lam
ac3440114a fix: bug where body wasn't properly sent on ap-style content-types 2023-12-22 15:52:38 -05:00
Julian Lam
506d7be5f5 fix: update isJSON test in request lib 2023-12-19 14:34:05 -05:00
Julian Lam
510763af30 fix: update isJSON test in request lib 2023-12-19 14:33:14 -05:00
Barış Soner Uşaklı
c15bdd4cf0 👋Request, 🐶 Fetch, closes #10341 (#12236)
* axios migration

* controller tests

* add missing deps

* feeds

* remove unused async

* flags

* locale-detect

* messaging/middleware

* remove log

* meta

* plugins

* posts

* search

* topics/thumbs

* user/emails

* uploads.js

* socket.io

* cleaunup

* test native fetch

* cleanup

* increase engine to 18

fix remaining tests

* remove testing file

* fix comments,typo

* revert debug
2023-12-18 12:08:34 -05:00