brainopia
|
8491f16e12
|
Add tld_length option when using domain :all in cookies
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2011-01-21 13:13:51 +01:00 |
|
brainopia
|
91a4193ee0
|
Support list of possible domains for cookies
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2011-01-21 13:13:43 +01:00 |
|
brainopia
|
ebc47465a5
|
Fix edge cases for domain :all option on cookie store
Dont set explicit domain for cookies if host is not a domain name
[#6002 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
|
2010-12-16 01:49:30 +05:30 |
|
Aditya Sanghi
|
5b9f6a74db
|
Resolving LH #5986, cookies doc updates
|
2010-11-26 16:41:33 +05:30 |
|
Andrew White
|
47ceb135c6
|
Ensure that Rails.env is defined first
|
2010-10-27 10:30:14 +01:00 |
|
Andrew White
|
2d5a12a50b
|
Don't write out secure cookies unless the request is secure
|
2010-10-25 16:36:35 +01:00 |
|
Joost Baaij
|
9f4d3a1ebe
|
expand cookie examples with signed and permanent methods
|
2010-08-27 22:31:02 +02:00 |
|
Bryce Thornton
|
fd78bb7270
|
Allow for any possible TLD when using the :all option with the cookie session store. This works for subdomain.mysite.local, google.co.uk, google.com.au, etc. [#5147 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-08-15 16:42:02 -03:00 |
|
Carlos Antonio da Silva
|
c09cd192aa
|
Small fix in cookie docs and trailing whitespaces
|
2010-07-15 18:41:29 -03:00 |
|
Rizwan Reza
|
b602ce6191
|
Refactored duplication into a separate method. Dropped class variable.
|
2010-06-11 16:34:53 +02:00 |
|
Rizwan Reza
|
6148b2dd73
|
Adding missing docs to delete cookies with :all which were added that way.
|
2010-06-11 16:34:53 +02:00 |
|
Rizwan Reza
|
f99132663b
|
Took out the domain option logic to cookies.rb.
|
2010-06-11 16:34:52 +02:00 |
|
José Valim
|
d3e62fc57c
|
Avoid creating a Rack::Response object in the cookie middleware since it may stream the body.
|
2010-05-18 17:47:56 +02:00 |
|
José Valim
|
25f7c030e4
|
Simplify cookie_store by simply relying on cookies.signed.
|
2010-05-18 02:05:20 +02:00 |
|
José Valim
|
6690d66292
|
Rename config.cookie_secret to config.secret_token and pass it as configuration in request.env. This is another step forward removing global configuration.
|
2010-04-05 12:00:24 +02:00 |
|
Jeremy Kemper
|
e3959970e1
|
Fix signed cookies by explicitly passing config to the cookie jar
|
2010-04-04 11:10:00 -07:00 |
|
José Valim
|
62151dd272
|
Deprecate cookie_verifier_secret in favor of config.cookie_secret allowing signed cookies to work again.
|
2010-03-31 12:59:41 +02:00 |
|
Mathias Biilmann Christensen
|
c8dd6f224c
|
Deleting and setting a cookie in the same request was broken
Made sure to remove a cookie from @deleted_cookies when set
[#4211 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2010-03-17 18:04:32 -07:00 |
|
Joshua Peek
|
eeba755a11
|
Accessing nonexistant cookies through the signed jar should not raise an
exception
|
2010-01-17 21:31:06 -06:00 |
|
Joshua Peek
|
d2d4acf027
|
Cookies middleware
|
2010-01-16 17:22:27 -06:00 |
|