Git Product home page Git Product logo

Comments (2)

dodo avatar dodo commented on August 21, 2024

looks a little bit old to me .. oh and XEP0029 starts with:

WARNING: This document has been retracted by the author(s). Implementation of the protocol described herein is not recommended. Developers desiring similar functionality are advised to implement the protocol that supersedes this one (if any).

do you have any other references that are not outdated?

(sorry if that sounds a little bit harsh)

from strophejs.

msm-code avatar msm-code commented on August 21, 2024

looks a little bit old to me .. oh and XEP0029 starts with:
The point is, XMPP supports unicode. If XEP0029 is deprecated, it's only because something newer came out.

For example take a look at https://xmpp.org/extensions/xep-0106.html - RFC 3920 [1] defines the Nodeprep profile of stringprep (RFC 3454 [2]), which specifies that the following nine Unicode code points are disallowed in the node identifier portion of a Jabber Identifier (JID): - only nine unicode codepoints are explocitly listed as forbidden.

I highly encourage you to apply this changes to strophejs library - I had to patch this "by hand" for my website, and this feels a bit hacky. After this patch everything is working as it should be.

If you hesitate because of backward compability, remember that unescape(encodeURIComponent(x)) is no-op as long as x is ascii string - so it's impossible that something will break after this change.

from strophejs.

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.