in reply to Re: encode html entities in TT format
in thread I want to encode html entities in TT format to remove cross site scripting, I have followed the articles here for xss but could not able to implement in my code.

Not shouting @hippo, :D Ok, So i already have perl module and a tool is based on MVC model. I can refer the script as mentioned by you but integration with pm files is quiet difficult. My aim to encode in the presentation layer or view which is template toolkit. Can you be able suggest something with respect to TT files only as mentioned above? or any other solution or something you want to correct me with?

2018-06-09 Athanasius restored original content

  • Comment on Re^2: encode html entities in TT format

Replies are listed 'Best First'.
Re^3: encode html entities in TT format
by haj (Vicar) on Jun 07, 2018 at 06:37 UTC
    What hippo was demonstrating in his example is that the uri filter encodes < and > quite fine. Does his test program succeed in your installation? If it doesn't, then there's something wrong in your TT installation. If it does, then you need to closely inspect the generated result of your TT process.