You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2013/01/03 23:08:56 UTC

git commit: [#5051] ticket:187 fix urls with space in inline diff view

Updated Branches:
  refs/heads/master 8a1e20452 -> 161034e5b


[#5051] ticket:187 fix urls with space in inline diff view


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/161034e5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/161034e5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/161034e5

Branch: refs/heads/master
Commit: 161034e5b8c727b07ed2376c109fa157e0efae55
Parents: 8a1e204
Author: Igor Bondarenko <je...@gmail.com>
Authored: Mon Oct 8 16:33:45 2012 +0300
Committer: Cory Johns <jo...@geek.net>
Committed: Thu Jan 3 22:03:19 2013 +0000

----------------------------------------------------------------------
 Allura/allura/templates/repo/commit.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/161034e5/Allura/allura/templates/repo/commit.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/repo/commit.html b/Allura/allura/templates/repo/commit.html
index c4ca330..19ea544 100644
--- a/Allura/allura/templates/repo/commit.html
+++ b/Allura/allura/templates/repo/commit.html
@@ -25,7 +25,7 @@ Commit <a href="{{commit.url()}}">{{commit.shorthand_id()}}</a> {{commit_labels(
     var called_count = 0; // count of running load requests
 
     function ld(diff, callback) {
-      $(diff.selector).load(diff.url, callback);
+      $(diff.selector).load(encodeURI(diff.url), callback);
     }
 
     function load_diff() {