Skip to content

Instantly share code, notes, and snippets.

@htmlr
Created July 5, 2012 15:38
Show Gist options
  • Save htmlr/3054411 to your computer and use it in GitHub Desktop.
Save htmlr/3054411 to your computer and use it in GitHub Desktop.
Liferay - getting rid of trailing slashes
## Use $httpUtil.fixPath() to trim trailing slashes
#set($bad_domain_url = "http://www.example.com/")
#set($theme_folder = $httpUtil.fixPath($bad_domain_url))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment