Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

CF 2021 Update 5 and JDK 11.0.17 Fails using the <cfdocument permissions attribute

Community Beginner ,
Nov 24, 2022 Nov 24, 2022

After installing Update 5 for CF2021 and updating the JDK from 11.0.14 to 11.0.17

<cfdocument no longers works if the encryption attribute is specified.

 

We've tried document-2021.0.05.330109.jar (two versions, one from the update 1,831kb, and one sent to us from CF Support: 4,233kb)

 

i.e.

<cfdocument
filename = "MyFile.pdf"
format = "PDF"
fontembed = "yes"
mimetype = "text/html"
encryption="128-bit"

permissions = "AllowPrinting,AllowCopy">

My Content

</cfdocument>

Fails with no error message.

 

Removing

encryption="128-bit"

permissions = "AllowPrinting,AllowCopy"

works, although the pdf can then be edited.

 

Good:

<cfdocument
filename = "MyFile.pdf"
format = "PDF"
fontembed = "yes"
mimetype = "text/html" >

My Content

</cfdocument>

TOPICS
Advanced techniques , Security , Server administration
806
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 25, 2022 Nov 25, 2022

Hi @Scog ,

I do believe it is a bug, and have reported it: https://tracker.adobe.com/#/view/CF-4216050  

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 25, 2022 Nov 25, 2022

Appreciate that, @BKBK

- Tim ( aka Scog Mellonhead)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 28, 2022 Nov 28, 2022

Hi @Scog 

 

I think we have a patch for this. Can you please send an email to cfsup@adobe.com and request a patch. Please mention this thread. 

Thanks,
Priyank Shrivastava
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 02, 2022 Dec 02, 2022

We've been in touch with Ravi Shankar and have received a fix for this. The fix however broke the <CFPDFForm> tag.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 31, 2023 Jan 31, 2023
LATEST

Sending you an email - the patch we received from Ravi at Adobe makes <cfpdfform> fail.

 

- Tim

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources