JorgeFerrer/liferay-portal — pull request #153 by vilmospapp (2013-04-10 12:15:42+00:00)
Title: LPS-34258 Default landing page fix

Hi Jorge,

I've created a new LPS for the referer fix: LPS-34334 as I couldn't find any already opened ticket for that issue.

I tried to use the simpler fix with String redirect = ParamUtil.getString(request WebKeys.REFERER, defaultLandingPagePath);

But it wasn't good, as the getString() function reverts to the default value only when the value extracted from the request is null, but in our case it will be an empty String.

Hence I used the first version you sent me.

I made no additional changes, only removed the unused include of HttpUtil.

Regards,
Vilmos