View Issue Details

IDProjectCategoryView StatusLast Update
0011215mantisbtapi soappublic2010-02-22 14:34
Reporterrombert Assigned Torombert  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version1.2.0Fixed in Version1.2.0 
Summary0011215: tns:AttachmentData download_url does not encode ampersands
Description

Leading to invalid XML being sent down the wire

<pre><attachments xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="tns:AttachmentData[1]">
<item xsi:type="tns:AttachmentData">
<id xsi:type="xsd:integer">54</id>
<filename xsi:type="xsd:string">sample.txt</filename>
<size xsi:type="xsd:integer">20</size>
<content_type xsi:type="xsd:string">txt</content_type>
<date_submitted xsi:type="xsd:dateTime">2009-11-25T01:42:24Z</date_submitted>
<download_url xsi:type="xsd:anyURI">http://localhost/~robert/mantisbt/file_download.php?file_id=54&amp;type=bug&lt;/download_url>
</item>
</attachments>
</pre>

TagsNo tags attached.

Activities

dhx

dhx

2009-12-06 08:12

reporter   ~0023863

Oops sorry rombert, my bad (problem created by commit http://git.mantisbt.org/?p=mantisbt.git;a=commit;h=0c9b5cd564309efb83fbcfe428ed0da56c3060fe).

rombert

rombert

2009-12-06 08:40

reporter   ~0023864

No problem :-)

Good thing the SOAP tests noticed.

Related Changesets

MantisBT: master-1.2.x c0f84e15

2009-12-03 17:17

rombert


Details Diff
Fixes 0011215: tns:AttachmentData download_url does not encode ampersands Affected Issues
0011215
mod - api/soap/mc_project_api.php Diff File
mod - api/soap/mc_issue_api.php Diff File

MantisBT: master 1690847b

2009-12-03 17:17

rombert


Details Diff
Fixes 0011215: tns:AttachmentData download_url does not encode ampersands Affected Issues
0011215
mod - api/soap/mc_issue_api.php Diff File
mod - api/soap/mc_project_api.php Diff File