]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/changeset_controller.rb
Don't log the contents of the changeset.
[rails.git] / app / controllers / changeset_controller.rb
index 4913a600e1d036a5c0e41dcdbd35b97764acd32d..ea28675c8e454bf96b7f389a83a0f0f83250d57b 100644 (file)
@@ -12,6 +12,8 @@ class ChangesetController < ApplicationController
   before_filter :check_api_readable, :except => [:create, :update, :delete, :upload, :download, :query]
   after_filter :compress_output
 
+  filter_parameter_logging "<osmChange version"
+
   # Help methods for checking boundary sanity and area size
   include MapBoundary
 
@@ -356,6 +358,10 @@ class ChangesetController < ApplicationController
     else
       #TODO: fix bugs in location determination for history tab (and other tabs) then uncomment this redirect
       #redirect_to :action => 'list'
+      
+      # For now just render immediately, and skip the db
+      render
+      return
     end
        
     conditions = conditions_bbox(bbox);