GithubHelp home page GithubHelp logo

Comments (5)

frozeman avatar frozeman commented on May 21, 2024

Hm i should make the get an sEt method Clearing out the #. I didnt thought about that. St can clean it and get replaced it again to #. Ot i Call urlencode but i think i did.

Tanks for Findung this

from mootools-filemanager.

GerHobbelt avatar GerHobbelt commented on May 21, 2024

just thinking ahead: cleaning out the #... section entirely might not be desirable at all times: consider the scenario where the fmXXX=YYY storage items are mixed with a real 'fragment' carrying an element ID to jump to...

EDIT:
Forget it.

http://www.w3.org/TR/html401/struct/links.html#h-12.2.1

is very specific about fragments for text/html media: using jsGET means the above scenario is non-existent as it would be a illeg cf. the standards.

See also:

http://tools.ietf.org/html/rfc5147#section-1.2

http://tools.ietf.org/html/rfc2854#section-3

so that leaves us with the obscure scenario where jsGET is mixed with other stuff using the fragment section to store arbitrary data.

Furthermore, a bit of testing reveals that, indeed, there are no restrictions on the fragment contents, at least not by the browser (FF3.6.16), so the observed 'losing everything after the second '#' must be a glitch in the jsGET logic - or some other JS.

from mootools-filemanager.

GerHobbelt avatar GerHobbelt commented on May 21, 2024

fixed in latest commit; jsGET fixes also available in jsGET repo clone.

from mootools-filemanager.

frozeman avatar frozeman commented on May 21, 2024

Thanks a lot.

from mootools-filemanager.

GerHobbelt avatar GerHobbelt commented on May 21, 2024

You're welcome!

from mootools-filemanager.

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.