bagda391 Posted December 4, 2017 Report Posted December 4, 2017 Hi. How can I restrict the input of the trade link if I want to save it for each user via my website?For example, if instead of the trade link I put google.com, if I send a trade, it will give me this error: throw new Error("Unknown SteamID input format \"" + input + "\""); ^ Error: Unknown SteamID input format "google.com"Any idea on how to stop this from happening? Quote
Dr. McKay Posted December 4, 2017 Report Posted December 4, 2017 You can use the url module to parse the URL, then you'd want to check the domain, path, etc. bagda391 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.