Jump to content

How to validate html input strings


fatkatie

Recommended Posts

I have no idea by what you mean by "html 'snippets'".

 

Validate what exactly. That it is a properly formatted url, that the URL is a youtube link, that the link actually points to a valid resource, that the url doesn't contain any malicious code, etc., etc. Are you only going to allow youtube links? What should happen to other links?

 

You need to come up with very specific requirements.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.