Skip to content

Commit 3ba0a79

Browse files
committed
Upgrade to OpenPDF 1.2.12
1 parent 462d047 commit 3ba0a79

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

spring-webmvc/spring-webmvc.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dependencies {
2323
optional("javax.xml.bind:jaxb-api:2.3.1")
2424
optional("org.webjars:webjars-locator-core:0.37")
2525
optional("com.rometools:rome:1.12.0")
26-
optional("com.github.librepdf:openpdf:1.2.10")
26+
optional("com.github.librepdf:openpdf:1.2.12")
2727
optional("org.apache.poi:poi-ooxml:4.0.1")
2828
optional("org.freemarker:freemarker:${freemarkerVersion}")
2929
optional("com.fasterxml.jackson.core:jackson-databind:${jackson2Version}")

src/docs/asciidoc/web/webmvc-view.adoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -798,9 +798,8 @@ When developing with JSPs, you can declare a `InternalResourceViewResolver` or a
798798
`ResourceBundleViewResolver` bean.
799799

800800
`ResourceBundleViewResolver` relies on a properties file to define the view names
801-
mapped to a class and a URL. With a `ResourceBundleViewResolver`, you
802-
can mix different types of views by using only one resolver, as the following example
803-
shows:
801+
mapped to a class and a URL. With a `ResourceBundleViewResolver`, you can mix
802+
different types of views by using only one resolver, as the following example shows:
804803

805804
====
806805
[source,xml,indent=0]
@@ -1960,7 +1959,7 @@ In order to use Excel views, you need to add the Apache POI library to your clas
19601959
For PDF generation, you need to add (preferably) the OpenPDF library.
19611960

19621961
NOTE: You should use the latest versions of the underlying document-generation libraries,
1963-
if possible. In particular, we strongly recommend OpenPDF (for example, OpenPDF 1.0.5)
1962+
if possible. In particular, we strongly recommend OpenPDF (for example, OpenPDF 1.2.12)
19641963
instead of the outdated original iText 2.1.7, since OpenPDF is actively maintained and
19651964
fixes an important vulnerability for untrusted PDF content.
19661965

0 commit comments

Comments
 (0)