webmcp
changeset 249:b4b6e1fc74e8
Bugfix in request.set_cookie{...}
author | jbe |
---|---|
date | Sun Mar 01 21:20:29 2015 +0100 (2015-03-01) |
parents | 4748410d27ac |
children | db79324a13fe |
files | framework/env/request/set_cookie.lua |
line diff
1.1 --- a/framework/env/request/set_cookie.lua Sun Mar 01 21:18:56 2015 +0100 1.2 +++ b/framework/env/request/set_cookie.lua Sun Mar 01 21:20:29 2015 +0100 1.3 @@ -18,8 +18,8 @@ 1.4 request.get_absolute_baseurl(), 1.5 "://[^/]*(.*)" 1.6 ) 1.7 - if path == nil then 1.8 - path = "/" 1.9 + if args.path == nil then 1.10 + args.path = "/" 1.11 end 1.12 end 1.13 if args.secure == nil then