Jump to content

Validating NON HTML tags in text


redfort

Recommended Posts

Hi ,

          As we know we validate the user input data while processing the from.

          We validate to avoid XSS for that we use html filter to filter invalid tags and all.

        If the data it self contains some tag like data Ex: <HOMETOWN RANGE> . the html filters truncating it to <HOMETOWN>  though the the tag is not a HTML tag .

 

        Presently i am using Input class filter it s truncating the text. Can any one suggest me some filters where we can avoid data truncation with non- html tags  like above.....

Link to comment
https://forums.phpfreaks.com/topic/220807-validating-non-html-tags-in-text/
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.