gogits/gogs — pull request #492 by chadoe (2014-09-21 12:41:55+00:00)
Title: Set cookiepath to AppSubUrl

Set cookiepath to AppSubUrl instead of domain root (if a suburl is configured) so the cookie won't be sent to other applications running on the same domain if a suburl is used.

Requires pull requests:
https://github.com/macaron-contrib/session/pull/1
https://github.com/macaron-contrib/csrf/pull/2