Bug 20611 - specify JWK encoding as UTF-8

I have no problems with this text.

 

There is an interesting question if one wishes to stay with the ECMA 262
reference or change to the ECMS 404 document as the reference to be used for
JSON grammar.  

 

The major difference being that there are a set of parsing rules in 262
while 404 is strictly what the string looks like.

 

I am totally agnostic about making this change.   JOSE decided that it was
going to use the 262 parsing rules which state that in the event of
duplicate elements it uses the last one rather than throwing an error as
being an invalid structure.  To my mind this is a big security hole, but I
could never convince them that it needed to be closed.

 

Jim

 

 

 

http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf

Received on Friday, 21 February 2014 01:56:41 UTC