Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 22, 2011
  1. @NZKoz

    Prepend the CSRF filter to make it much more difficult to execute app…

    NZKoz authored
    …lication code before it fires.
Commits on Jan 31, 2011
  1. @NZKoz

    Change the CSRF whitelisting to only apply to get requests

    NZKoz authored
    Unfortunately the previous method of browser detection and XHR whitelisting is unable to prevent requests issued from some Flash animations and Java applets.  To ease the work required to include the CSRF token in ajax requests rails now supports providing the token in a custom http header:
    
     X-CSRF-Token: ...
    
    This fixes CVE-2011-0447
  2. @josevalim @NZKoz

    Use Mime::Type references.

    josevalim authored NZKoz committed
Commits on Dec 9, 2010
  1. @neerajdotname @josevalim

    Ensure that while caching a page rails takes into

    neerajdotname authored josevalim committed
    account the resolved mime type for the request
    
    This is a port of fix on master to 3-0-stable
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Dec 8, 2010
  1. @fxn
  2. @neerajdotname @fxn

    Add to documentation that action caching does

    neerajdotname authored fxn committed
    handle HTTP_ACCEPT attribute properly and might
    provide wrong result. Use params[:format] to
    avoid this issue.
Commits on Nov 27, 2010
  1. @radar @fxn

    Add explicit statement that verify_authenticity_token can be turned o…

    radar authored fxn committed
    …ff for actions.
Commits on Nov 24, 2010
  1. @neerajdotname @josevalim

    If a user wants json output then try best to render json output. In s…

    neerajdotname authored josevalim committed
    …uch cases prefer kind_of(String) over respond_to?(to_str)
    
    [#5841 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Nov 7, 2010
  1. @chriseppstein @spastorino

    Correctly handle the case of an API response that returns a hash by t…

    chriseppstein authored spastorino committed
    …reating a single hash argument as the resource instead of as options.
    
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Commits on Oct 18, 2010
  1. @pixeltrix
Commits on Oct 11, 2010
  1. @szimek @josevalim

    Return a valid empty JSON on successful PUT and DELETE requests. [#5199

    szimek authored josevalim committed
    … state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Oct 10, 2010
  1. @wycats
Commits on Sep 27, 2010
  1. @dcrec1 @josevalim

    renderer calls object.to_json when rendering :json => object [#5655 s…

    dcrec1 authored josevalim committed
    …tate:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Sep 24, 2010
  1. @miloops @spastorino

    Refactor decode_credentials to avoid inject and use map instead.

    miloops authored spastorino committed
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
  2. @miloops @spastorino

    Refactor methods in html node to avoid injects.

    miloops authored spastorino committed
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Commits on Sep 12, 2010
  1. @mikel

    Backport of: added block arguments to ActionController::Metal#use

    mikel authored
    Commit: f0dbcc7a692bc375e3e52a9661af4037392ee52f
    Useful for cases such as warden, where a block configuration is taken.
    
        class SomeController < ApplicationController
          use RailsWarden::Manager do |manager|
            manager.default_strategies :facebook_oauth
            manager.failure_app = SomeController.action(:authorize)
          end
        end
Commits on Sep 9, 2010
  1. @mikel
Commits on Sep 1, 2010
  1. @tchandy @josevalim

    Use join instead of looping and calling to_s [#5492 state:resolved]

    tchandy authored josevalim committed
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Aug 26, 2010
  1. @josevalim
Commits on Aug 25, 2010
  1. @tilsammans @fxn

    Restored top-level documentation for ActionController::Base.

    tilsammans authored fxn committed
    This information was lost in commit bd6b61b.
    This might have been intentional, but this class does represent the starting
    point for all things related to actions, and as such should document it.
    
    I couldn't find any trace of this documentation, which seems like a waste.
    Updated parts here and there to conform to current best practices.
Commits on Aug 24, 2010
  1. @pixeltrix @josevalim

    Reset symbolized path parameters when a test request is recycled [#5437

    pixeltrix authored josevalim committed
    … state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Aug 19, 2010
  1. @josevalim
Commits on Aug 14, 2010
  1. @spastorino

    Deletes trailing whitespaces (over text files only find * -type f -ex…

    spastorino authored
    …ec sed 's/[ \t]*$//' -i {} \;)
Commits on Aug 4, 2010
  1. @wycats
Commits on Aug 3, 2010
  1. @wycats
  2. @wycats
  3. @wycats
  4. @wycats

    Even though exempt_from_layout is no longer needed, some people are s…

    wycats authored
    …till using it. Deprecate it instead of removing.
Commits on Jul 30, 2010
  1. @rohit
Commits on Jul 26, 2010
  1. @wincent

    doc: cleanup respond_to documentation

    wincent authored
    Signed-off-by: Wincent Colaiuta <win@wincent.com>
Commits on Jul 25, 2010
  1. @spastorino @josevalim

    Change returning with tap

    spastorino authored josevalim committed
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Jul 23, 2010
  1. @josevalim

    Clean up AM and AC railties.

    josevalim authored
  2. @josevalim
  3. @jeroenvandijk @josevalim

    Move config_accessor :asset_host from ActionController::Base to Abstr…

    jeroenvandijk authored josevalim committed
    …actController which fixes issues with asset_host in ActionMailer
    
    Including:
      - Moved mailer objects in separate directory
      - Added two tests for asset_host configuration option
Commits on Jul 21, 2010
  1. @josevalim
Something went wrong with that request. Please try again.