firebug/firebug — pull request #50 by chstath (2012-10-18 22:18:40+00:00)
Title: Issue5964

Steps 2,3 from RFC 6265 5.1.4 for calculating the path are missing from the current implementation in cookieObjerver.js and that explains issue 5964. If the path is empty or just a "/", we have to keep a "/" as the activePath.

In addition, as step 4 says: "Output the characters of the uri-path from the first character up to, but not including, the right-most %x2F ("/")."
If I understand it correctly, the "right-most" slash is not necessarily the last character of the path. So a path like /test/index.php will give /test as activePath. If you agree with me I will update my patch and send a new pull request.