[jboss-jira] [JBoss JIRA] (ELY-48) StringPrep use newer Unicode then StringPrep RFC 3454

Jan Kalina (JIRA) issues at jboss.org
Wed Aug 20 10:43:29 EDT 2014


     [ https://issues.jboss.org/browse/ELY-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Kalina updated ELY-48:
--------------------------

    Description: 
RFC 3454 (StringPrep) define table of unassigned codepoints by Unicode 3.2:
http://tools.ietf.org/html/rfc3454#section-7

But StringPrep implementation use {{java.lang.Character.getType()}}, which use newer Unicode, where same of defined  unassigned codes are already assigned.

Examples: codepoint {{0x0221}}, {{0x0234}} and {{0x02EF}}

All are defined in RFC as unassigned but in Unicode 4.0.0 they are assigned:
http://www.fileformat.info/info/unicode/char/02EF/index.htm

I think using of newer Unicode can be tolerated, but it can depend on purpose of this profile of encode function.

  was:
RFC 3454 (StringPrep) define table of unassigned codepoints by Unicode 3.2:
http://tools.ietf.org/html/rfc3454#section-7

But StringPrep implementation use {{java.lang.Character.getType()}}, which use newer Unicode, where same of defined  unassigned codes are already assigned.

Examples: codepoint {{0x0221}}, {{0x0234}} and {{0x02EF}}

All are defined in RFC as unassigned but in Unicode 4.0.0 they are assigned:
http://www.fileformat.info/info/unicode/char/02EF/index.htm

I think that using of newer Unicode can be tolerated, but it can depend on using of this profile.



> StringPrep use newer Unicode then StringPrep RFC 3454
> -----------------------------------------------------
>
>                 Key: ELY-48
>                 URL: https://issues.jboss.org/browse/ELY-48
>             Project: WildFly Elytron
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Jan Kalina
>            Assignee: Darran Lofthouse
>            Priority: Minor
>
> RFC 3454 (StringPrep) define table of unassigned codepoints by Unicode 3.2:
> http://tools.ietf.org/html/rfc3454#section-7
> But StringPrep implementation use {{java.lang.Character.getType()}}, which use newer Unicode, where same of defined  unassigned codes are already assigned.
> Examples: codepoint {{0x0221}}, {{0x0234}} and {{0x02EF}}
> All are defined in RFC as unassigned but in Unicode 4.0.0 they are assigned:
> http://www.fileformat.info/info/unicode/char/02EF/index.htm
> I think using of newer Unicode can be tolerated, but it can depend on purpose of this profile of encode function.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list