[TYPO3-core] RFC: #8205: Shortcut ends in parse_url-error

Steffen Kamper info at sk-typo3.de
Fri Jul 25 17:24:39 CEST 2008


Hi,

REMINDER #1

vg Steffen

Steffen Kamper schrieb:
> Hi,
> 
> This is an SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker reference: http://bugs.typo3.org/view.php?id=8205
> 
> Branches: TYPO3_4-2, trunk
> 
> 
> Problem:
> there are 4 problems that are all fixed by this patch
> 
> 1) when creating shortcut from file_list it ends up in parse_url error
> 2) when creating shortcut after Clickmenu it ends up in parse_url error
> 3) If you create shortcut from "edit page properties" label of shortcut 
> can't get page name
> 4) If you access items in Clickmenu returnUrl contains complete url with 
> host
> 
> Solution:
> 1 & 2) parameter $_GET['url'] hasn't processed with urldecode
> 3) use $shortcut['recordid'] for pageId if present
> 4) when JS builds returnUrl it uses document.location. This contains full 
> URL with host information.
> All Urls are processed with top.rawurlencode, which is a JS-substitute for 
> the same php-function.
> 
> I extracted the host in this function.
> 
> vg Steffen
> 
> 


More information about the TYPO3-team-core mailing list