Index: branches/1.1.x/platform/inc/jquery/thickbox/thickbox.js =================================================================== diff -u -N -r13088 -r14142 --- branches/1.1.x/platform/inc/jquery/thickbox/thickbox.js (.../thickbox.js) (revision 13088) +++ branches/1.1.x/platform/inc/jquery/thickbox/thickbox.js (.../thickbox.js) (revision 14142) @@ -349,7 +349,7 @@ } TB.parseRedirect = function ($data) { - var $match_redirect = new RegExp('^#redirect#(.*)').exec($data); + var $match_redirect = new RegExp('^#redirect#(.*?)($|\\s.*)').exec($data); if ($match_redirect != null) { // redirect to external template requested return $match_redirect[1];