[BUGFIX] Lost page id after editing record out of Workspace Module
authorOliver Hader <oliver@typo3.org>
Sun, 18 Nov 2012 12:57:06 +0000 (13:57 +0100)
committerOliver Hader <oliver.hader@typo3.org>
Mon, 19 Nov 2012 07:03:28 +0000 (08:03 +0100)
commit301c0a79db98d96044d8cbf7d86f51191bc2aece
tree86c5e252b333465999a82a9755f8d987fd0eecbc
parentcbceae275afdee05f2c561e4fa93f2a423cc6031
[BUGFIX] Lost page id after editing record out of Workspace Module

Given are those steps to reproduce:
* select a sub page in page tree
* open workspace module
* edit one of the workspace elements there
* save or close the editing process
* view is redirected to page id "0"

Encoding in the Javascript part to forward a correct returnUrl
is wrong. Instead of manually escaping sequences,
encodeURIComponent can be used.

Change-Id: Idda427015deb4595cc4e2c32542ba2d7a644e2b3
Fixes: #43049
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/16550
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/workspaces/Resources/Public/JavaScript/configuration.js