-
Bug
-
Resolution: Duplicate
-
Medium
-
None
-
2.0.2
-
None
-
2
-
In the XDoclet JIRA, issue XDT-398 has an attachment "build.xml". Unfortunately, this file includes an external entity using
<!DOCTYPE project [
<!ENTITY modules-common SYSTEM "../modules-common.ent">
]>
Trying to view and download this attachment just displays an error message, since this file isn't found on the JIRA server:
500 Internal Server Error
java.io.FileNotFoundException: /opt/j2ee/atlassian/jira/jira-xdoclet/xdoclet-jira-web/secure/../modules-common.ent (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:103)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:69)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:148)
at org.apache.crimson.parser.Resolver.resolveEntity(Resolver.java:389)
at org.apache.crimson.parser.ExternalEntity.getInputSource(ExternalEntity.java:89)
at org.apache.crimson.parser.Parser2.pushReader(Parser2.java:3133)
at org.apache.crimson.parser.Parser2.externalParsedEntity(Parser2.java:2819)
at org.apache.crimson.parser.Parser2.expandEntityInContent(Parser2.java:2545)
at org.apache.crimson.parser.Parser2.maybeReferenceInContent(Parser2.java:2422)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1833)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
at com.evermind[Orion/1.6.0 (build 10770)].servlet.XSLServlet.service(.:136)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind[Orion/1.6.0 (build 10770)]._cs._yqb(.:698)
at com.evermind[Orion/1.6.0 (build 10770)]._cs._yrb(.:189)
at com.evermind[Orion/1.6.0 (build 10770)]._bx.run(.:62)
- duplicates
-
JRASERVER-871 Improve Mime type handling of Attachments
- Closed