* WGs marked with an * asterisk has had at least one new draft made available during the last 5 days

Ticket #68 (new defect)

Opened 4 years ago

Last modified 3 years ago

Make conversion from '\' to '/' scheme-dependent

Reported by: duerst@it.aoyama.ac.jp Owned by: draft-ietf-iri-comparison@tools.ietf.org
Priority: major Milestone:
Component: iri-processing Version:
Severity: - Keywords:
Cc:

Description

Boris Zbarsky wrote at http://lists.w3.org/Archives/Public/public-iri/2011Jun/0056.html:

On 6/20/11 12:35 AM, Chris Weber wrote:

3987bis does say this in
http://trac.tools.ietf.org/html/draft-ietf-iri-3987bis-05#section-7.2:

  1. Convert backslashes ('\') matching href-path-sep to forward

slashes ('/').

And HTML5 says the same in it's section on Resolving URLs
http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#resolving-urls

  1. If result uses a scheme with a server-based naming authority,

replace all U+005C REVERSE SOLIDUS (\) characters in result with U+002F
SOLIDUS (/) characters.

Though note that these two statements are not quite equivalent unless whether section 7.2 applies can depend on the scheme.
<<<<

Change History

comment:1 Changed 3 years ago by masinter@adobe.com

  • Priority changed from minor to major

This comment needs to move to the HTML processing spec (no tracker component at this point); I think the main feedback for IRIs is that this is not an IRI operation.

In fact, the \ to / conversion might in fact be specific to the definition of http:, file: and ftp: URIs/IRIs.

comment:2 Changed 3 years ago by masinter@adobe.com

  • Owner changed from draft-ietf-iri-3987bis@tools.ietf.org to draft-ietf-iri-comparison@tools.ietf.org
  • Component changed from 3987bis to iri-processing

comment:3 Changed 3 years ago by masinter@adobe.com

Note previous trac issue http://trac.tools.ietf.org/wg/iri/trac/ticket/38

Some web applications convert "\" to "/", and others don't. We may have to make this mandatory or disallowed (but not optional), for Web Addresses.

Note: See TracTickets for help on using tickets.