senchalabs/connect — pull request #947 by bmancini55 (2013-10-28 00:12:31+00:00)
Title: Fix cookieSession to work with FQDN

Changes the cookieSession to check the path instead of the url, which doesn't work with FQDN :(

I created a new variable on req for storing the originalPath (along with the originalUrl) that can be used in middleware without having to strip out the protocol/host details from the originalUrl. This is not getting set in the same manner as originalUrl.