Hi,
when I send Links to Facebook, they get broken and TWG shows:
The request has invalid input. If you where trying to hack TWG - try again ;).
The reason for that is Facebook add a unknown parameter as tracking id in the URL:
...&fbclid=xxxxxxxxxxx
Is it possible to ignore this parameter (or do something special with it), so that TWG is working again?
I identified one File and perhaps I can provide a patch later.
can you please provide the full url? Because I have several keywords if don't allow in the url. how does the xxxxx look like?
Best regards, Michael
Of course, here is the URL that I copy&paste to Facebook:
https://flusi.amoksworld.de/gallery/index.php?twg_album=HomeCockpit
and when you hit the Link it is something like that:
Perhaps this tracking parameter can be usefull in some way for TWG, too?
this is because of the length restriction on unknown parameters. is is set to 15.
To change this:
search for
parse_maxlength(replaceInput($val), 15)
in inc/mysession.inc.php and set it to e.g. 100. Then your facebook url link works as well.
I will put this to a variable in the next build 2.5.
Best regards, Michael
The parameter will be: unknown_parameter_max_length ;).
Thank you very much - it is working now!
regards
Thomas
👍