You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2019/06/29 03:26:00 UTC

[jira] [Updated] (PDFBOX-4587) SASLPrep declares that u2070E is private use

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

Tilman Hausherr updated PDFBOX-4587:
------------------------------------
    Description: 
As reported by [~tallison@apache.org] 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 

  was:As reported by [~tallison@apache.org] in related issue. This is a typo in the SASLprep code :(


> 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
>            Priority: Major
>             Fix For: 2.0.17, 3.0.0 PDFBox
>
>
> As reported by [~tallison@apache.org] 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org