You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2016/10/18 03:52:21 UTC

[2/7] airavata-php-gateway git commit: AIRAVATA-2169 Fix url encoding of projectID

AIRAVATA-2169 Fix url encoding of projectID

Ran into this problem when I created a project with a name that included
'#' in it.


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/5d7a4f19
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/5d7a4f19
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/5d7a4f19

Branch: refs/heads/develop
Commit: 5d7a4f1992373820605d80c446dfac5432be3a2d
Parents: 782b203
Author: Marcus Christie <ma...@iu.edu>
Authored: Mon Oct 17 10:13:59 2016 -0400
Committer: Marcus Christie <ma...@iu.edu>
Committed: Mon Oct 17 10:13:59 2016 -0400

----------------------------------------------------------------------
 app/views/project/browse.blade.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/5d7a4f19/app/views/project/browse.blade.php
----------------------------------------------------------------------
diff --git a/app/views/project/browse.blade.php b/app/views/project/browse.blade.php
index 1c47b49..bacd5a7 100755
--- a/app/views/project/browse.blade.php
+++ b/app/views/project/browse.blade.php
@@ -108,7 +108,7 @@
                     <td>
                         {{$project->name}}
                         @if($can_write[$project->projectID])
-                        <a href="{{URL::to('/')}}/project/edit?projId={{$project->projectID}}" title="Edit">
+                        <a href="{{URL::to('/')}}/project/edit?projId={{rawurlencode($project->projectID)}}" title="Edit">
                             <span class="glyphicon glyphicon-pencil"></span>
                         </a>
                         @endif