sergiogonzalez/liferay-portal — pull request #474 by KocsisDaniel (2012-11-27 08:53:34+00:00)
Title: [TECH SUPPORT] LPS-31171

Hi Sergio,

as you request we re-factored the fix to avoid accidentally cut non relevant parts of the content when fetching the context path position. I removed the lastIndexOf because we knows all the exact positions and we can grab the part we need directly. I also reviewed the oldparameters and because the string fragment we use there always starts with one of the 3 options we have to references DL entries, it is never contains the context path.

thanks,
Daniel