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
- LPS-103515 filterNormalizeUri received bad value
- For more information regarding JDK Logging refer to Oracle documentation: Configuring Logging Output