New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External Link detection is case sensitive #2446

Closed
sergioharo opened this Issue Sep 14, 2011 · 4 comments

Comments

Projects
None yet
5 participants
@sergioharo

sergioharo commented Sep 14, 2011

The logic that determines whether to change a page via AJAX or via a page load is not case insensitive.

Say that I'm on http://jquerymobile.com/demos/1.0b3/

The following links open via AJAX (as expected):

<a href="docs/pages/index.html" class="ui-link-inherit">Pages &amp; dialogs</a>

<a href="http://jquerymobile.com/demos/1.0b3/docs/pages/index.html" class="ui-link-inherit">Pages &amp; dialogs</a>

The following opens as an external link:

<a href="http://jqueryMOBILE.com/demos/1.0b3/docs/pages/index.html" class="ui-link-inherit">Pages &amp; dialogs</a>

@jblas

This comment has been minimized.

Show comment
Hide comment
@jblas

jblas Sep 14, 2011

Contributor

Yeah, apparently only the hostname part of a URL should be considered case-insensitive. Everything else should be case-sensitive.

http://www.w3.org/TR/WD-html40-970708/htmlweb.html

Contributor

jblas commented Sep 14, 2011

Yeah, apparently only the hostname part of a URL should be considered case-insensitive. Everything else should be case-sensitive.

http://www.w3.org/TR/WD-html40-970708/htmlweb.html

@johnbender

This comment has been minimized.

Show comment
Hide comment
@johnbender

johnbender Sep 15, 2011

Contributor

@sergioharo

The relevant information from the document:

URLs in general are case-sensitive (with the exception of machine names). There may be URLs, or parts of URLs, where case doesn't matter, but identifying these may not be easy. Users should always consider that URLs are case-sensitive.
Contributor

johnbender commented Sep 15, 2011

@sergioharo

The relevant information from the document:

URLs in general are case-sensitive (with the exception of machine names). There may be URLs, or parts of URLs, where case doesn't matter, but identifying these may not be easy. Users should always consider that URLs are case-sensitive.

@johnbender johnbender closed this Sep 15, 2011

@johnbender johnbender reopened this Sep 15, 2011

@johnbender

This comment has been minimized.

Show comment
Hide comment
@johnbender

johnbender Sep 15, 2011

Contributor

Hasty in my closing of the issue. Re-opening to address in the future.

Contributor

johnbender commented Sep 15, 2011

Hasty in my closing of the issue. Re-opening to address in the future.

@gabrielschulhof

This comment has been minimized.

Show comment
Hide comment
@gabrielschulhof

gabrielschulhof Jun 10, 2014

Contributor

Reproduced on jsfiddle with latest and greatest: http://jsfiddle.net/5E2V4/1/show/light/

Contributor

gabrielschulhof commented Jun 10, 2014

Reproduced on jsfiddle with latest and greatest: http://jsfiddle.net/5E2V4/1/show/light/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment