Fix for custom URL schemes
Merge pull request #3292 from Atlante45/fix_for_custom_URL_schemes

Fix for custom URL schemes