[Fusionforge-commits] FusionForge branch 5.2-admssw updated. a242a04ea0ba97081b73ad75a043967844a2e0ae

Olivier Berger olberger at fusionforge.org
Mon Apr 22 14:28:16 CEST 2013

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, 5.2-admssw has been updated
       via  a242a04ea0ba97081b73ad75a043967844a2e0ae (commit)
      from  eec35089e9ef79a992e1a90e093e150c124e8a4f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a242a04ea0ba97081b73ad75a043967844a2e0ae
Author: Olivier Berger <olivier.berger at telecom-sudparis.eu>
Date:   Mon Apr 22 14:13:35 2013 +0200

    URLencode file names (solves spaces in file names issue)

diff --git a/src/plugins/admssw/common/RDFedFRSFile.class.php b/src/plugins/admssw/common/RDFedFRSFile.class.php
index 699b05a..dae5bb2 100644
--- a/src/plugins/admssw/common/RDFedFRSFile.class.php
+++ b/src/plugins/admssw/common/RDFedFRSFile.class.php
@@ -61,7 +61,7 @@ class RDFedFRSFile extends FRSFile {
 	 *	@return	string	URL
 	public function getDownloadUrl() {
-		return util_make_url('/frs/download.php/file/'.$this->getID().'/'.$this->getName());
+		return util_make_url('/frs/download.php/file/'.$this->getID().'/'.rawurlencode($this->getName()));


Summary of changes:
 src/plugins/admssw/common/RDFedFRSFile.class.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


More information about the Fusionforge-commits mailing list