LPS-40388 Improved input validation for Shopping Portlet