We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Somewhat similar to #59, but not a Regex issue. Reproducible JS example:
await (await fetch('https://maglit.me/api/create', { __proto__: null, method: 'post', headers: { __proto__: null, 'content-type': 'application/json' }, body: `{"password":"","link":"magnet:?xt=urn:btih:737e24b5ab9e409cfc0ed80d93cba5b320396572","slug":"${Date.now().toString(36)}"}` })).json()
All magnet links will result in the following response:
{"message":"Error checking the link."}
https://github.com/NayamAmarshe/MagLit/blob/e780c2010bd4d1e521b5e62b25c5c8b183b5a687/pages/api/create.js#L145 I believe e780c20 is at fault, and you're attempting to fetch() magnet links. https://github.com/NayamAmarshe/MagLit/blob/e780c2010bd4d1e521b5e62b25c5c8b183b5a687/pages/api/create.js#L129-L147
fetch()
The text was updated successfully, but these errors were encountered:
fix: Redirect checking being applied to all URIs
e4c2c92
should fix NayamAmarshe#67
e3796e7
Successfully merging a pull request may close this issue.
Somewhat similar to #59, but not a Regex issue. Reproducible JS example:
All magnet links will result in the following response:
https://github.com/NayamAmarshe/MagLit/blob/e780c2010bd4d1e521b5e62b25c5c8b183b5a687/pages/api/create.js#L145
I believe e780c20 is at fault, and you're attempting to
fetch()
magnet links.https://github.com/NayamAmarshe/MagLit/blob/e780c2010bd4d1e521b5e62b25c5c8b183b5a687/pages/api/create.js#L129-L147
The text was updated successfully, but these errors were encountered: