Legacy Knowledge Base
Published Jul. 2, 2025

WARNING "filterNormalizeUri received bad value" when working with blog entries

Written By

Mariano Alvaro

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • The following WARNING is obtained when editing/listing blog entries:

    WARNING [http-nio-8080-exec-7] com.google.template.soy.shared.restricted.Sanitizers.filterNormalizeUri |filterNormalizeUri received bad value 'javascript:Liferay.Sharing.share(36707, 38917, 'Share Blog\x20Entry\x20\x231')'

Environment

  • Liferay 7.3

Resolution

  • It's a know issue, LPS-103515, that has only been fixed for future versions.
  • To mitigate this problem a different log level can be assigned to the class that prints the warning: com.google.template.soy.shared.restricted.Sanitizers
    • To do so, because it relies on JDK Logging, you must configure the following line in your logging.properties file:

      com.google.template.soy.shared.restricted.Sanitizers.level=SEVERE
    • In Tomcat this file, by default, resides in the following path: $TOMCAT_HOME/conf/logging.properties

Additional Information

 

Did this article resolve your issue ?

Legacy Knowledge Base