|
From: <tom...@us...> - 2010-01-29 18:47:50
|
Revision: 2090
http://ndlb.svn.sourceforge.net/ndlb/?rev=2090&view=rev
Author: tombenner
Date: 2010-01-29 18:47:36 +0000 (Fri, 29 Jan 2010)
Log Message:
-----------
Temporarily using debugging code in UtilsController#proxy to diagnose an issue on dev
Modified Paths:
--------------
portal/ror/plugins/thdl_integration/trunk/app/controllers/thl/utils_controller.rb
Modified: portal/ror/plugins/thdl_integration/trunk/app/controllers/thl/utils_controller.rb
===================================================================
--- portal/ror/plugins/thdl_integration/trunk/app/controllers/thl/utils_controller.rb 2010-01-29 18:15:18 UTC (rev 2089)
+++ portal/ror/plugins/thdl_integration/trunk/app/controllers/thl/utils_controller.rb 2010-01-29 18:47:36 UTC (rev 2090)
@@ -2,6 +2,8 @@
def proxy
+ render :text => params.to_json and return
+
# We want to grab params that are part of the requested URL, but ignore ones that are supplied by Rails
ignored_params = ["proxy_url", "action", "controller"]
url_params = params.reject{|param, val| ignored_params.include?(param) }.collect{ |param, val| param + '=' + CGI.escape(val) }.join('&')
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|