1. 27 9月, 2010 1 次提交
  2. 23 9月, 2010 1 次提交
  3. 14 9月, 2010 1 次提交
  4. 12 9月, 2010 2 次提交
  5. 10 9月, 2010 1 次提交
  6. 06 9月, 2010 1 次提交
  7. 03 9月, 2010 1 次提交
  8. 02 9月, 2010 1 次提交
  9. 29 8月, 2010 1 次提交
  10. 28 8月, 2010 1 次提交
  11. 24 8月, 2010 1 次提交
  12. 23 8月, 2010 1 次提交
    • A
      Cache the symbolized path parameters using a instance variable in the request... · ae2c6073
      Andrew White 提交于
      Cache the symbolized path parameters using a instance variable in the request object rather than the environment hash. This it to prevent stale parameters in later routing constraints/redirects as only the normal path parameters are set by Rack::Mount.
      
      Also if a constraint proc arity is more than one, pass the symbolized path parameters
      as the first argument to match redirect proc args and provide easier access.
      
      [#5157 state:resolved]
      Signed-off-by: NJosé Valim <jose.valim@gmail.com>
      ae2c6073
  13. 20 8月, 2010 1 次提交
  14. 14 8月, 2010 4 次提交
  15. 12 8月, 2010 1 次提交
  16. 20 7月, 2010 1 次提交
  17. 18 7月, 2010 1 次提交
  18. 29 6月, 2010 1 次提交
  19. 28 6月, 2010 1 次提交
    • W
      Fix several known web encoding issues: · 25215d72
      wycats 提交于
      * Specify accept-charset on all forms. All recent browsers,
        as well as IE5+, will use the encoding specified for form
        parameters
      * Unfortunately, IE5+ will not look at accept-charset unless
        at least one character in the form's values is not in the
        page's charset. Since the user can override the default
        charset (which Rails sets to UTF-8), we provide a hidden
        input containing a unicode character, forcing IE to look
        at the accept-charset.
      * Now that the vast majority of web input is UTF-8, we set
        the inbound parameters to UTF-8. This will eliminate many
        cases of incompatible encodings between ASCII-8BIT and
        UTF-8.
      * You can safely ignore params[:_snowman_]
      
      TODO:
      
      * Validate inbound text to confirm it is UTF-8
      * Combine the whole_form implementations in form_helper_test
        and form_tag_helper_test
      25215d72
  20. 25 6月, 2010 1 次提交
  21. 24 6月, 2010 1 次提交
  22. 20 6月, 2010 1 次提交
  23. 11 6月, 2010 1 次提交
  24. 05 6月, 2010 1 次提交
  25. 18 5月, 2010 1 次提交
  26. 21 4月, 2010 1 次提交
  27. 17 4月, 2010 1 次提交
  28. 04 4月, 2010 1 次提交
    • W
      * Change the object used in routing constraints to be an instance of · ab8bf9e1
      wycats 提交于
        ActionDispatch::Request rather than Rack::Request.
      
      * Changed ActionDispatch::Request#method to return a String, to be
        compatible with the Rack::Request superclass.
      
      * Changed ActionDispatch::Request#method to return the original
        method in the case of methodoverride and #request_method not to,
        to be compatible with Rack::Request
      ab8bf9e1
  29. 02 4月, 2010 1 次提交
    • P
      Slightly less annoying check for acceptable mime_types. This allows Accept:... · dc5300ad
      Paul Sadauskas 提交于
      Slightly less annoying check for acceptable mime_types. This allows Accept: application/json, application/jsonp (and the like), but still blacklists browsers. Essentially, we use normal content negotiation unless you include */* in your list, in which case we assume you're a browser and send HTML [#3541 state:resolved]
      dc5300ad
  30. 29 3月, 2010 1 次提交
  31. 28 3月, 2010 2 次提交
  32. 20 3月, 2010 1 次提交
  33. 17 3月, 2010 1 次提交
  34. 10 3月, 2010 1 次提交
  35. 09 3月, 2010 1 次提交