pwnall / node-xhr2

XMLHttpRequest emulator for node.js
MIT License
104 stars 41 forks source link

nodejs: The url module has expired and the URL class is recommended #46

Open xp44mm opened 3 years ago

xp44mm commented 3 years ago

for example: url.parse should be replaced with new URL().

When a request is sent in a browser, \{} is not escaped. However, in xhr2, they are escaped as %5C%7B%7D.