GithubHelp home page GithubHelp logo

Comments (2)

Matthias247 avatar Matthias247 commented on July 3, 2024

Hi,
it's bascially the same issue as #11
The validator follows the rules for strict URIs in the WAMP specification. This does not allow uppercase characters.

from jawampa.

twopointzero avatar twopointzero commented on July 3, 2024

Thanks for the quick reply Matthias.

I revisited the WAMP spec just now and spotted the regexps in question. The closest thing I can find to spec-normative text just mentions "letters" as it applies to this issue, whereas the examples are obviously only in support of lowercase. It is too bad that the WAMP spec isn't clearer in its distinction between what appear to be normative text vs not. Regardless, if the WAMP folks only want to support lowercase then they will actually be deviating from the URI RFC (in particular, section 2.3s definition of "unreserved characters" as then referenced elsewhere throughout the RFC.)

Since you are the one maintaining jawampa, I'm certainly not going to suggest that I somehow force you to deviate from the WAMP spec's current wording. When I have a moment I'll create a fork for my own use and either bring the validator in line with the URI RFC (especially since the validator is also failing out things like encoded characters) or simply relax the validation entirely for my own uses.

EDIT: Looking back on my comment, and just to be clear: I certainly don't take issue with the WAMP spec choosing to be more restrictive. I, for one, appreciate keeping identifiers to a simple, safe, set of characters. The spec just needs to be clearer in terms of how it deviates from the URI RFC if it is going to do so.

from jawampa.

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.