[TECH SUPPORT] LPS-50380 Cross-Site Scripting possible through url parameters - Documents and Media

Hi Tomáš,

I have changed the proposed solution to this one based your feedback on https://github.com/topolik/liferay-portal/pull/98.

Please take a look and share if you think this is not ok.

Thanks,
Ákos