Development

#2636 ([sfControlPanel] - displaying files does not work)

You must first sign up to be able to contribute.

Ticket #2636 (new defect)

Opened 7 months ago

Last modified 7 months ago

[sfControlPanel] - displaying files does not work

Reported by: ionlord Assigned to: francois
Priority: major Milestone:
Component: sfControlPanelPlugin Version: 1.0.9
Keywords: Cc:
Qualification: Unreviewed

Description

there is a bug when '%%' string is replaced by dot, but the string is urlencoded, so no replacement is actually made.

Adding urldecode call solves this problem.

private function retrieveFile()
  {
    if(!$filename = str_replace('%%', '.', urldecode( $this->getRequestParameter('filename') )))

Change History

12/10/07 19:50:44 changed by francois

  • owner changed from fabien to francois.
  • component changed from plugins to sfControlPanelPlugin.