decode URL before attempting to open them.

Thanks to Chris Pinkham for finding the root cause.

Fixes #11909