Coder Social home page Coder Social logo

Comments (5)

asilvas avatar asilvas commented on June 22, 2024

This issue is connected with Issue 11

from curl.

unscriptable avatar unscriptable commented on June 22, 2024

Thanks! I caught this last night as well. Will add a test case for protocol-relative urls.

from curl.

unscriptable avatar unscriptable commented on June 22, 2024

I can't seem to repro this anymore. Can you check with the latest in dev branch?

(I did make minor tweaks to the relative url checking regexp just now, but I wasn't able to repro before those changes.)

from curl.

asilvas avatar asilvas commented on June 22, 2024

Looks like it may have been due to me testing on a local file, versus serving up from a domain. Even still, "//" from a local file will not work -- I believe this to be a browser behavior, as some do not treat local files as "http". Another reason to just re-write http/https instead of protocol relative paths, for use with local tests.

Oddly I was also not able to repro the IE8 double-css issue using the "link!" plugin. You did not make any changes to avoid the double download bug, did you?

from curl.

unscriptable avatar unscriptable commented on June 22, 2024

Looks like it may have been due to me testing on a local file, versus serving up from a domain. Even still, "//" from a local file will not work -- I believe this to be a browser behavior, as some do not treat local files as "http". Another reason to just re-write http/https instead of protocol relative paths, for use with local tests.

If you are referring to the "file:" protocol, there are other browser-related problems, too.

Oddly I was also not able to repro the IE8 double-css issue using the "link!" plugin. You did not make any changes to avoid the double download bug, did you?

Yes. I did! :)
See this commit: unscriptable@36ad576

from curl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.