patches/ActionsTool: patch further listFilteredActionsFor to cleanup defined urls
from double slashes. This to give compatibility with definition in actions on Web Section and Web Site portal types, for which now absolute_url returns a trailing slash, so definitions like: string:${object_url}/WebSection_xxx would create a url with double slashes
Showing
-
Owner
I'm a bit worried by this change, I feel there might be legitimate cases where there are
//
in the generated URL (for example in a GET parameter)If the problem is that URLs like
string:${object_url}/WebSection_xxx
may now contain two slashes, we can fix by updating web section actions tostring:${object_url}WebSection_xxx
, can't we ?
Please register or sign in to comment