dotCMS/dotCMS — pull request #4586 by ravit (2013-12-11 18:22:08+00:00)
Title: fixes #4520 Vanity URLs redirect to a directory name fail

Fixed the issue and pushed the code for review, please check it.