[TYPO3-dev] Storing URLs to the DB: encoded or not?

Christian Stüdemann typo3.v01 at christian-stuedemann.de
Sun Dec 7 21:58:43 CET 2014


Dear all,

where do you do the urlencode? Do you do the urlencode in the view and 
the url/uri is stored to the DB in decoded format? Or do you store the 
url/uri encoded to the DB and do no encoding in the view at all?

I would prefer encoding in the view in order to make sure that each and 
everything (no matter which source it comes from) is encoded for 
security reasons...

Best regards and thx for your advise,
C.



More information about the TYPO3-dev mailing list