Giter Site home page Giter Site logo

Allow gen-delims and sub-delims about zxing HOT 8 CLOSED

theking2 avatar theking2 commented on June 15, 2024
Allow gen-delims and sub-delims

from zxing.

Comments (8)

srowen avatar srowen commented on June 15, 2024

Could you be more specific? what is the RFC, what delimiters do you mean, what barcode producing what result vs what you expect? And ideally a pull request illustrating the change you want

from zxing.

theking2 avatar theking2 commented on June 15, 2024

currently the following url is cutoff just before teh [: https://qr.sbw.media/[0Li9
According to RFC3986, section 2.2 [ is considered a generic delimiter and valid in a url, there is no need to end the url here

from zxing.

srowen avatar srowen commented on June 15, 2024

Can you show me a barcode that does this? I don't think there is any special handling of this in the code.
And, ideally I'm looking for a pull request

from zxing.

theking2 avatar theking2 commented on June 15, 2024

anmeldung_sbw_media

from zxing.

srowen avatar srowen commented on June 15, 2024

That decodes as you expect with this library. The result is https://qr.sbw.media/[0Li9
I think you're talking about something else, like an app and how it renders URLs.

from zxing.

theking2 avatar theking2 commented on June 15, 2024

It look like the restriction in URIResultParser#39 it neither correct nor needed as valid characters are parsed further up.

from zxing.

theking2 avatar theking2 commented on June 15, 2024

That decodes as you expect with this library. The result is https://qr.sbw.media/[0Li9 I think you're talking about something else, like an app and how it renders URLs.

No it is not. The url is cut off at [ and the result is https://qr.sbw.media/ which is not valid

from zxing.

srowen avatar srowen commented on June 15, 2024

It is :) I just tried it. I think you are talking about something different.
I don't understand your comment about what should change in URIResultParser, but, as I say: please open a PR to continue this. I'm having a hard time working out what you think should be different

from zxing.

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.