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

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

    [ https://issues.apache.org/jira/browse/PDFBOX-4587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16875363#comment-16875363 ] 

ASF subversion and git services commented on PDFBOX-4587:
---------------------------------------------------------

Commit 1862298 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1862298 ]

PDFBOX-4587: fix typo

> 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