You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Freemarker can escape URLs, but it needs the default encoding to be set.
${post.uri?url}
To do URL encoding, the framework that encloses FreeMarker must specify the "output_encoding" setting or the "url_escaping_charset" setting, so ask the programmers to set them. Or, as a last chance, you can set the url_encoding_charset setting in the template, e.g. <#setting url_escaping_charset='ISO-8859-1'>, or give the charset explicitly to the built-in, e.g. foo?url('ISO-8859-1').
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${post.uri?url} [in template "index.ftl" at line 10, column 34]
The text was updated successfully, but these errors were encountered:
OndraZizka
changed the title
Set up URL escaping in Freemarker
Set up URL escaping for Freemarker
Jul 25, 2018
Freemarker can escape URLs, but it needs the default encoding to be set.
The text was updated successfully, but these errors were encountered: