Git Product home page Git Product logo

Comments (7)

pieroxy avatar pieroxy commented on July 19, 2024

In the meantime, you can still replace all spaces by + characters...

I'll think of something.

from lz-string.

pieroxy avatar pieroxy commented on July 19, 2024

I've just released v1.4.2 that adresses your problem. Can you have a look and tell me if it works for you ?

If it does I'll close the issue.

Thanks for the bug report.

from lz-string.

maiwald avatar maiwald commented on July 19, 2024

I think URL-safe-compression should rather comply with the standards but this is better than nothing, I guess.

Thanks!

from lz-string.

pieroxy avatar pieroxy commented on July 19, 2024

If there was one standard, I'd agree with you. But with 13 standards...

from lz-string.

maiwald avatar maiwald commented on July 19, 2024

As far as I see it, there is only on when it comes to URIs: http://tools.ietf.org/html/rfc4648#section-5
โ€ฆwell ok, its an RFC ;)

from lz-string.

pieroxy avatar pieroxy commented on July 19, 2024

I guess it's too late now... While the method is based on base64, nothing in its contract specifies it's going to output base64, so I think it's no big deal. Except for the ugly hack that is... :-/

from lz-string.

maiwald avatar maiwald commented on July 19, 2024

yup, totally agree. It works now, so thanks! :)

from lz-string.

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.