Code Monkey home page Code Monkey logo

Comments (5)

markstory avatar markstory commented on May 18, 2024

Not really sure what the issue is here. Without the & the helper would be generating invalid HTML. The & should not be sent by the browser as it should convert the entity back to normal &.

from asset_compress.

oscar-b avatar oscar-b commented on May 18, 2024

Interesting, I guess I found a bug in Google Chrome (9.0.597.84 Linux).

If you click the URL from "view-source:domain.tld" it doesn't handle the & escaping properly. If you do it from the web inspector tool, it fetches the resource by the correct URL.

Strange, but feel free to close :)

from asset_compress.

josegonzalez avatar josegonzalez commented on May 18, 2024

I'm on Google Chrome 11.0.696.3 dev, OSX. This issue still exists, and I am preparing a patch to deal with it, since I do not believe it will be going away any time soon, and the majority of my users are on Chrome versions affected by it.

from asset_compress.

josegonzalez avatar josegonzalez commented on May 18, 2024

The following commit contains the changes that will "properly" fix this issue. josegonzalez/asset_compress@87ed164

There should also be a bug report on Chromium, but thats a separate issue.

from asset_compress.

markstory avatar markstory commented on May 18, 2024

Is there a place I could see this error in action? I tried locally using Chrome 10.0.648.133 on OSX and files downloaded fine when there were &'s in the urls.

from asset_compress.

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.