Fixed: Re-added lost code to guard against invalid URIs.
Merge branch 'master' of https://github.com/archfrog/MiWiKi