airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata-php-gateway git commit: fixing AIRAVATA-1941
Date Mon, 28 Mar 2016 19:00:29 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop a1f7a49e8 -> 6cf2ce0af


fixing AIRAVATA-1941


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/6cf2ce0a
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/6cf2ce0a
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/6cf2ce0a

Branch: refs/heads/develop
Commit: 6cf2ce0afb639fe8d0ddb484b3fdef9f36123bea
Parents: a1f7a49
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Mon Mar 28 15:00:23 2016 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Mon Mar 28 15:00:23 2016 -0400

----------------------------------------------------------------------
 app/libraries/ExperimentUtilities.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/6cf2ce0a/app/libraries/ExperimentUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php
index 9c120b2..43b7058 100644
--- a/app/libraries/ExperimentUtilities.php
+++ b/app/libraries/ExperimentUtilities.php
@@ -694,7 +694,7 @@ class ExperimentUtilities
                     if (!ExperimentUtilities::endsWith($dataRoot, "/"))
                         $dataRoot = $dataRoot . "/";
                     $filePath = str_replace($dataRoot, "", parse_url($currentInputPath, PHP_URL_PATH));
-                    echo '<p><a target="_blank" href="' . URL::to("/") . '/download/?path='
. $filePath . '">' . basename($filePath) . ' <span class="glyphicon glyphicon-new-window"></span></a></p>';
+                    echo '<p><a target="_blank" href="' . URL::to("/") . '/download/?path='
. urlencode($filePath) . '">' . basename($filePath) . ' <span class="glyphicon glyphicon-new-window"></span></a></p>';
                 }
             } elseif ($output->type == DataType::STRING) {
                 echo '<p>' . $output->value . '</p>';


Mime
View raw message