-
h22oo
wellsfargo@exploit.im
-
lovetox
.
-
///@@@lovetox
has anyone an example of a invalid resource?
-
///@@@lovetox
i struggle to find one
-
jonas’
just use anything not in Unicode 3.2
-
jonas’
otherwise the resource strings are pretty much free form
-
jonas’
and you'd have to use control characters not available on a common keyboard to mess with them
-
jonas’
such as U+FFFC
-
Kev
\0 is the easiest, I'd have thought.
-
jonas’
Kev, try to send that over XMPP :)
-
Kev
That wasn't part of the assignment ;)
-
jonas’
I took it as an implicit; otherwise, yes, \0 is the easiest (and also one of the hardest to type ;))
-
Kev
I'd just assumed we were talking about testing a JID validation function or something. You're just as likely to be right.
-
jonas’
oh! U+200D isn't that uncommon, but prohibited via tabe C22✎ -
jonas’
oh! U+200D isn't that uncommon, but prohibited via table C.2.2 ✏
-
Zash
And which RFC and Unicode version are we using for this exercise?
-
Kev
Zash: Yes.
-
jonas’
There Is Only One.
-
Zash
https://www.rfc-editor.org/rfc/rfc6122 Got it!
-
lovetox
U200D does not work for me
-
lovetox
dont forget there is normalization in the process
-
jonas’
oh, right
-
lovetox
ah U+FFFC does the trick, thanks
-
jonas’
the normalization probably kills U+200d away
-
Beherit
*XMPP Community* Reminder to consider to join the upcoming XMPP Vision & Strategic Workshop We intend to discuss our organization and future of the technology we use, develop and thrive across the XMPP Community. Date: Tue, 14th November 2023 Time: 6:00 - 9:00 pm UTC Online & in English Questions: https://xmpp.org/chat?xsf Everyone welcome - spread the word! https://fosstodon.org/@xmpp/111387292602565749
-
lovetox
hm .. precis allows U+FFFC
-
singpolyma
My nirmal test is a resource with 🤯
-
lovetox
also allowed by precis
-
lovetox
its easy to find something thats not allowed by stringprep
-
singpolyma
Isn't stringprep the only thing that matters?
-
lovetox
Hm actually its a obsolete standard
-
Kev
And also the only one that matters :)
-
singpolyma
In what way is it obsolete?
-
lovetox
as in it is superseeded by another rfc
-
lovetox
just that now everybody wants to ignore it, i would expect the XSF to act in some way if it thinks it was a error to publish this RFC
-
Zash
Just think of it as the MIX of address specifications...
-
lovetox
yeah with the small difference that MIX did not supersede the MUC protocol ...
-
Zash
FWIW for Prosody I'm mostly waiting for ICU to gain support for the newer thing.
-
Zash
lovetox, so just like PRECIS hasn't superseeded STRINGPREP
-
Zash
references in RFC metadata notwithstanding
-
lovetox
it says right there in the header
-
lovetox
Obsoletes: 6122
-
lovetox
but im not an expert of RFC process things
-
lovetox
maybe im misunderstanding this
-
Zash
You underestimate the power of implementations.
-
singpolyma
I'm not sure I've ever seen an implementation if precis. Not that most things validate JIDs at all either way
-
Zash
It's just a word and a number until implementations follow them.
-
lovetox
singpolyma, you mean on a server?
-
lovetox
Concersations supported precis at one point, Gajim supports it since a few years
-
singpolyma
I meant clients and libraries mostly
-
singpolyma
Conversations didn't until recently, but they've followed me and do stringprep now
-
lovetox
ok but then you knew an implementation ...
-
singpolyma
Of what?
-
singpolyma
Of precis? No, I haven't seen one
-
singpolyma
Usually it's no validation, sometimes it's stringprep
-
lovetox
what are we talking about now, if you seen the code with your eyes? or do you mean implementing the precis standard itself in a library?
-
lovetox
i thought we talking about clients using precis
-
singpolyma
What code did I see with my own eyes?
-
singpolyma
Conversations did not use precis
-
singpolyma
It used no validation at all
-
lovetox
did you not just say > Conversations didn't until recently
-
singpolyma
Didn't validate until recently
-
lovetox
im pretty sure at one point it used precis for something and then reverted
-
lovetox
but maybe im remembering it wrong
-
lovetox
anyway, it does not really matter if something uses it or not
-
lovetox
i asked from a standards point of view, if this is dead
-
Zash
https://unicode-org.atlassian.net/browse/ICU-11981 might be resolved .. any day now
-
lovetox
and how does that solve the migration problem?
-
Zash
I'm not going to worry about some problem until that day