You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey Frog team, I am making a bug report on behalf of @artlu99, it seems that there is a lack of input validation for requests - we cannot figure out why this request body doesn't work on the frame url https://private-frame.artlu.xyz/api, for our client far.quest/cast.
// Here is all we are doing on `build.far.quest/v1/fetch-frame`:const{ proxyUrl, untrustedData, trustedData, action }=req.body;constresponse=awaitaxios.post(proxyUrl,{
untrustedData,
trustedData,});
The frog server returns a 500 - I assume it should validate the input, and return a 400 for bad input, rather than an internal error.
His frog server on vercel show this error: TypeError: Invalid URL at new URL (node:internal) (the repo is here).
Would be helpful if there was some input validation for a frog frame server, thank you!
Describe the bug
Hey Frog team, I am making a bug report on behalf of @artlu99, it seems that there is a lack of input validation for requests - we cannot figure out why this request body doesn't work on the frame url
https://private-frame.artlu.xyz/api
, for our client far.quest/cast.The frog server returns a 500 - I assume it should validate the input, and return a 400 for bad input, rather than an internal error.
His frog server on vercel show this error:
TypeError: Invalid URL at new URL (node:internal)
(the repo is here).Would be helpful if there was some input validation for a frog frame server, thank you!
Link to Minimal Reproducible Example
https://github.com/artlu99/private-frame-artlu-xyz
Steps To Reproduce
Enter: https://private-frame.artlu.xyz/api to this test page:
https://far.quest/~/developers/frames
Server:
https://github.com/artlu99/private-frame-artlu-xyz
Frog Version
0.17.4
TypeScript Version
No response
Check existing issues
Anything else?
No response
The text was updated successfully, but these errors were encountered: