Project

General

Profile

Actions

Bug #14452

closed

GP condition doesn't work with '#' in URL

Added by old_nick almost 20 years ago. Updated almost 20 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2004-12-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.6.2
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

URL: ?id=99#100&some_var=value

if you have a TS condition like
[globalVar GP:some_var=value]
it doesn't become true with the url above.

if you rearrange the URL to:
?some_var=value&id=99#100
it becomes true!

the problem is the hash-mark # in the url, if you leave it away, everthing works fine.
(issue imported from #M614)

Actions #1

Updated by Wolfgang Klinger almost 20 years ago

shouldn't it be

[globalVar = GP:some_var = value]

(mind the = sign after globalVar)
?

Actions #2

Updated by old_nick almost 20 years ago

you're right, wolfgang, but this is not the problem. i forgot the "=" only in my report.

Actions #3

Updated by Wolfgang Klinger almost 20 years ago

I investigated a little bit about your problem and the behaviour is absolutely ok! The "#" sign is a delimiter and everything after "#" is part of the anchor identifier. You won't find anything after a "#" in any of the PHP global variables $_GET or $_POST (neither will TYPO3)!

Please close this bug report.

Actions

Also available in: Atom PDF