[TYPO3-english] Strange characters concatenated to my URLs

Loek Hilgersom loek at netcoop.nl
Tue Feb 17 12:42:04 CET 2015


Hi Ivan,

As soon as the L-parameter gets a value, TYPO3 will preserve it in subsequent 
links, so you'll have to find out where those strange values are added to the 
url, maybe there is a specific page where that starts? Or could the site 
possibly be hacked?

The other thing you should do is add this to your TS setup [1]:
config.linkVars = L(1-2)

(1-2) is the range of values the L-paramater accepts in your site. If spanish 
had id 0 you could also do with (0|2) or even just (2).
This won't tackle the cause of the issue, but it prevents the caches to be 
flooded with endless copies of the same pages.

Hth,
Loek


[1] http://docs.typo3.org/typo3cms/TyposcriptReference/singlehtml/#id57



On 17-02-15 11:39, Ivan Gomez wrote:
> Hi,
>
> I have a Typo3 website version 4.5. I just realized that when I click on the
> links in my website sometimes strange characters are appended to the URL of that
> webpage in the browser.
>
> The website has two languages: Spanish and English. An example of correct URL is:
> In Spanish -> mysite/index.php?id=10
> In English ->  mysite/index.php?id=10&L=2
>
>
> But sometimes I get something like this:
> In Spanish -> mysite/index.php?id=10&L=txtnpoyrf
> or                      mysite/index.php?id=10&L=2%20\\\%27
>
> In English ->  mysite/index.php?id=10%20\\\%27&L=2
>
> The content is showed correctly and if I navigate just in English URLs are
> displayed correctly.  Why could this be happening? How could I fix it?
>
> Thanks.


More information about the TYPO3-english mailing list