deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dko...@apache.org
Subject [1/2] git commit: FGCP: don't escape template id passed in by client
Date Tue, 23 Apr 2013 20:24:33 GMT
Updated Branches:
  refs/heads/master 5dae95019 -> 9917b22a6


FGCP: don't escape template id passed in by client


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/8b777940
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/8b777940
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/8b777940

Branch: refs/heads/master
Commit: 8b77794003d54e89b959f3bc2cdfdf9c267847b6
Parents: 5dae950
Author: Dies Koper <diesk@fast.au.fujitsu.com>
Authored: Tue Apr 23 16:07:09 2013 +1000
Committer: Dies Koper <diesk@fast.au.fujitsu.com>
Committed: Wed Apr 24 06:24:07 2013 +1000

----------------------------------------------------------------------
 .../drivers/fgcp/fgcp_driver_cimi_methods.rb       |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/8b777940/server/lib/deltacloud/drivers/fgcp/fgcp_driver_cimi_methods.rb
----------------------------------------------------------------------
diff --git a/server/lib/deltacloud/drivers/fgcp/fgcp_driver_cimi_methods.rb b/server/lib/deltacloud/drivers/fgcp/fgcp_driver_cimi_methods.rb
index e93c9a4..0d21acb 100644
--- a/server/lib/deltacloud/drivers/fgcp/fgcp_driver_cimi_methods.rb
+++ b/server/lib/deltacloud/drivers/fgcp/fgcp_driver_cimi_methods.rb
@@ -297,7 +297,7 @@ module Deltacloud::Drivers::Fgcp
             :component_descriptors => components.compact
           )
         end
-        templates = templates.select { |t| context.system_template_url(CGI.escape(opts[:id]))
== t[:id] } if opts[:id]
+        templates = templates.select { |t| context.system_template_url(opts[:id]) == t[:id]
} if opts[:id]
         templates
       end
     end


Mime
View raw message