How to use $LQData{""} URL encoding?

English! place to talk about development, programming and coding
Post Reply
bendenn
Znuny newbie
Posts: 35
Joined: 25 May 2012, 11:09
Znuny Version: 3.1.6
Real Name: Ben

How to use $LQData{""} URL encoding?

Post by bendenn »

I want to use $LQData{""} to Insert a websitelink into my Template.
-----------------
Example from the Doku:
http://doc.otrs.org/developer/3.1/en/ht ... gMechanism

This command has the same function as $Data{""}, but it performs URL encoding on the data as it is inserted to the template. This should be used to output single parameter names or values of URLs, to prevent security problems. It cannot be used for complete URLs because it will also mask =, for example.

<a href="$Env{"Baselink"};Location=$LQData{"File"}">$QData{"File","110"}</a>
--------------

what kind of URL encoding is it?
how can i use it?
Post Reply