Ticket #60 (closed defect: fixed)

Opened 3 years ago

Last modified 21 months ago

0016755: 2 [Core] Download struikelt over sommige filenamen

Reported by: admin Owned by: robert
Priority: major Milestone: MediaMosa 2.1
Component: Core Version:
Keywords: Cc:
MoSCoW: Must Have Estimated time after impact analysis:
Related to project: none Tested: yes
Accepted: yes Estimated Hours:

Description


0016755: 2 [Core] Download struikelt over sommige filenamen
http://mantis.kennisnet.nl/view.php?id=16755

Als een filenaam een aanhalingsteken bevat zoals het voorbeeld, dan lukt het niet om de file te downloaden op het aangegeven pad.

Gezien op VP-Core acceptatie, EGA-id 5 (SURFmedia testomgeving)
assetid: ZkbRo?5kEY2HR18bEtxPogtPg
mediafileid: JyaZI01k2NkaV1Fd3QPdkgzu

Change History

Changed 3 years ago by admin

<?xml version="1.0"?>
<response>

<header>

<item_count>1</item_count>
<request_process_time>0.3688</request_process_time>
<request_query_count>40</request_query_count>
<request_result>success</request_result>
<request_result_description></request_result_description>
<request_result_id>601</request_result_id>
<request_uri>[GET] /asset/ZkbRo5kEY2HR18bEtxPogtPg/play?mediafile_id=JyaZI01k2NkaV1Fd3QPdkgzu&response=download&user_id=michiel</request_uri>
<vpx_version>1.4.3</vpx_version>

</header>
<items>

<item id="1">

<output>http://download.acceptatie.vpx.kennisnet.nl/WrMh3Dd2JjmHKjkGajpxzLs3/I [] Can't Get The Printer To Work.wmv</output>
<content_type></content_type>

</item>

</items>

</response>

Changed 2 years ago by MC-arjen

  • status changed from new to closed
  • resolution set to fixed
  • accepted set to 0
  • component set to Core

gefixed in 1.6

Changed 2 years ago by Frans

  • status changed from closed to reopened
  • resolution fixed deleted
  • related_to set to none

Changed 2 years ago by Frans

due in 1.6.1

Changed 2 years ago by forgacs

  • owner set to arjen
  • status changed from reopened to assigned

Changed 2 years ago by MC-arjen

  • status changed from assigned to closed
  • resolution set to fixed

now on acceptatie.

Changed 2 years ago by Michiel.Schok

  • status changed from closed to reopened
  • resolution fixed deleted

We are sorry.
When we navigate to the chosen link on SURFmedia - test where the offending video can be found ( http://www.20.test.surfmedia.nl/medialibrary/item.html?id=9z4Wq2avUgJRePVYAJlmG9Oc ), there is a download button at the first media file.

That button invokes the restcall

/asset/9z4Wq2avUgJRePVYAJlmG9Oc/play?mediafile_id=MJLg3fysoUu3PTpNWUHgEzI4&response=download&user_id=michiel

which returns

    <item id="1">
      <output>http://download.acceptatie.vpx.kennisnet.nl/TcNQ4TzEESoDIrlzF4OYLnHW/I Can't Get The Printer To Work.wmv</output>
      <content_type></content_type>
    </item>

And when issued in a browser, my browser reports 'File not found' with a HTML status code of 200-OK, which is given to my browser by 'download.acceptatie.vpx.kennisnet.nl'

Still not OK, not accepted.

Changed 2 years ago by Frans

  • version set to Not Accepted

Changed 2 years ago by MC-arjen

  • status changed from reopened to closed
  • resolution set to fixed

De oplossing was hier om de bestandsname te urlencoderen, bovenstaande filename zal nu een %27 geven voor een quote, het is echter wel downloadable, is dit acceptabel?

Changed 2 years ago by MC-arjen

The solution for this was to urlencode the file, quotes are changed in %27.

Changed 2 years ago by Michiel.Schok

  • accepted changed from no to yes

Satisfactory.

Changed 2 years ago by Frans

  • version changed from Not Accepted to Tested and Accepted

Changed 2 years ago by Michiel.Schok

  • status changed from closed to reopened
  • accepted changed from yes to no
  • resolution fixed deleted
  • version Tested and Accepted deleted

Regression tests show that it is broken in VP-core 1.7.1
Issue is reopened, and moved to project MediaMosa 1.7

Changed 2 years ago by Michiel.Schok

  • milestone changed from MediaMosa 1.6 to MediaMosa 1.7

Changed 2 years ago by forgacs

  • owner changed from arjen to MC-arjen
  • status changed from reopened to assigned

Ready. It is on the SVN.

Changed 2 years ago by peter

  • owner changed from MC-arjen to robert
  • milestone changed from MediaMosa 1.7 to MediaMosa 2.0

controleren en meenemen in 2.0

Changed 23 months ago by robert

  • moscow set to Must Have
  • milestone changed from MediaMosa 2.0 to MediaMosa 2.1

Tested in 2.1; Unit test creates a file called "plus'q uote" and tries to download it, this is done successful in 2.1 sandbox test.

Moved to 2.1 for final test for approval on acceptation release.

Changed 23 months ago by robert

  • status changed from assigned to closed
  • resolution set to ready_for_review

Changed 22 months ago by robert

  • status changed from closed to reopened
  • resolution ready_for_review deleted

Changed 22 months ago by robert

  • status changed from reopened to closed
  • resolution set to fixed

Changed 21 months ago by Michiel.Schok

  • tested set to yes
  • accepted changed from no to yes

I think Jens will appreciate that his files are now downloadable.

Note: See TracTickets for help on using tickets.