We can fix this problem by returning the baseURL instead
Pull request: https://github.com/WebKit/WebKit/pull/10944
<rdar://problem/106504588>