Skip to content

Commit

Permalink
Rename subdomain_cookies as common_cookies
Browse files Browse the repository at this point in the history
  • Loading branch information
brainopia committed Sep 30, 2010
1 parent 31fdb57 commit 5678d3b
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1,6 +1,6 @@
module Rack
# Rack middleware to use the same cookies inside domain and all subdomains.
class SubdomainCookies
class CommonCookies
DOMAIN_REGEXP = /([^.]*)\.([^.]*|..\...|...\...)$/
LOCALHOST_OR_IP_REGEXP = /^([\d.]+(:\d+)?|localhost)$/

Expand Down

0 comments on commit 5678d3b

Please sign in to comment.