]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Bugzilla #51599: Allow https scheme URI for PDF external action target.
authorGlenn Adams <gadams@apache.org>
Sun, 8 Apr 2012 20:42:10 +0000 (20:42 +0000)
committerGlenn Adams <gadams@apache.org>
Sun, 8 Apr 2012 20:42:10 +0000 (20:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1311092 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/pdf/PDFFactory.java
status.xml

index 2c347031f71abb75bcb9b38513dcb80f7ca07478..cc1d93de0911061eacde08c18feb4d3ce1b4d35e 100644 (file)
@@ -1062,6 +1062,9 @@ public class PDFFactory {
         } else if (targetLo.startsWith("http://")) {
             // HTTP URL?
             return new PDFUri(target);
+        } else if (targetLo.startsWith("https://")) {
+            // HTTPS URL?
+            return new PDFUri(target);
         } else if (targetLo.startsWith("file://")) {
             // Non PDF files. Try to /Launch them.
             target = target.substring("file://".length());
index d9e1d768014cd0cf8f7540019af4e8d7ec2d5e94..c03f071cf4f619825e26cc85001c2b8fa824c213 100644 (file)
@@ -62,6 +62,9 @@
       documents. Example: the fix of marks layering will be such a case when it's done.
     -->
     <release version="FOP Trunk" date="TBD">
+      <action context="Code" dev="GA" type="fix" fixes-bug="51599" due-to="Paul Huemer">
+        Allow https scheme URI for PDF external action target.
+      </action>
       <action context="Code" dev="GA" type="fix" fixes-bug="50901" due-to="Carsten Pfeiffer">
         RTF percentage table column width not calculated from table.
       </action>