Unicode fixes
Don't crash on invalid URLs