3 people reported
All time, since Sep 4, including 1 thumbs-up on GitHub.
sanitizeHost throws on bad host
“new URL() is not wrapped in a try/catch.”
Is this your bug? What gets counted gets fixed. Pile on.
Paste this into your agent. It files your report, with your error and version.
I hit this bug: rapsheet.dev/sheets/shopify/issues/7068/file Follow it to file my report. Show me the text before you send.
No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends
sanitizeHost throws instead of returning null for undecodable host. A host param that passes the base64 regex but doesn't decode to a URL makes authenticate.admin() crash with a 500.
Is this your bug?
File my report- Where
- @shopify/shopify-api
- Error text
TypeError: Invalid URL- Versions
- 14.0.1
- Platforms
- macOS
Original reports2, newest first
- sanitizeHost throws TypeError: Invalid URL instead of returning null for an undecodable host paramOn GitHubshopify-app-js #3412
- sanitizeHost throws instead of returning null for base64-shaped hosts that don't decode to a URLOn GitHubshopify-app-js #3377