ASF Bugzilla – Attachment 36176 Details for
Bug 62778
url-encoded in internal links (Target/TargetURI) for xlsx excel cannot to recognize
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Decode the Target tag before zip part marshallers
poi_target.diff (text/plain), 879 bytes, created by
Andre de Souza Pinto
on 2018-09-29 13:04:12 UTC
(
hide
)
Description:
Decode the Target tag before zip part marshallers
Filename:
MIME Type:
Creator:
Andre de Souza Pinto
Created:
2018-09-29 13:04:12 UTC
Size:
879 bytes
patch
obsolete
>diff -ru a/poi-4.0.1-SNAPSHOT/src/ooxml/java/org/apache/poi/openxml4j/opc/internal/marshallers/ZipPartMarshaller.java b/poi-4.0.1-SNAPSHOT/src/ooxml/java/org/apache/poi/openxml4j/opc/internal/marshallers/ZipPartMarshaller.java >--- a/poi-4.0.1-SNAPSHOT/src/ooxml/java/org/apache/poi/openxml4j/opc/internal/marshallers/ZipPartMarshaller.java 2018-07-04 08:39:24.000000000 -0300 >+++ b/poi-4.0.1-SNAPSHOT/src/ooxml/java/org/apache/poi/openxml4j/opc/internal/marshallers/ZipPartMarshaller.java 2018-09-29 09:24:45.988172493 -0300 >@@ -158,6 +158,7 @@ > URI targetURI = rel.getTargetURI(); > targetValue = PackagingURIHelper.relativizeURI( > sourcePartURI, targetURI, true).toString(); >+ targetValue = java.net.URLDecoder.decode(targetValue); > } > relElem.setAttribute(PackageRelationship.TARGET_ATTRIBUTE_NAME, targetValue); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 62778
: 36176