[ 
https://issues.apache.org/jira/browse/PDFBOX-4587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr resolved PDFBOX-4587.
-------------------------------------
    Resolution: Fixed
      Assignee: Tilman Hausherr

> SASLPrep declares that u2070E is private use
> --------------------------------------------
>
>                 Key: PDFBOX-4587
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4587
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Crypto
>    Affects Versions: 2.0.16
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.17, 3.0.0 PDFBox
>
>
> As reported by [[email protected]] in related issue. This is a typo in the 
> SASLprep codeĀ :(
> https://tools.ietf.org/html/rfc3454#appendix-C.3
> {noformat}
>    ----- Start Table C.3 -----
>    E000-F8FF; [PRIVATE USE, PLANE 0]
>    F0000-FFFFD; [PRIVATE USE, PLANE 15]
>    100000-10FFFD; [PRIVATE USE, PLANE 16]
>    ----- End Table C.3 -----
> {noformat}
> The code is:
> {code}
>         return 0xE000 <= codepoint && codepoint <= 0xF8FF
>                 || 0xF000 <= codepoint && codepoint <= 0xFFFFD
>                 || 0x100000 <= codepoint && codepoint <= 0x10FFFD;
> {code}
> He missed a "0" in the second line 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to