fixed url generation
removed next char point
renamed exception var
Merge pull request #296 from sulu-cmf/hotfix/shadow-smart-content

Fixed url generation for shadow pages in smart content