If presumed URI does not decode, it's not a URI. Fixes #2264.