Changed URI combining rules for URIs already ending in a # or / or :.