kcbanner/connect-mongo — pull request #40 by carlo-colombo (2012-06-27 19:46:30+00:00)
Title: When url ends with / overwrite dbname with empty string

This error due to ```"/".split("/") == ["",""]``` so ``` pathname[1] == ""``` and overwrite dbname even if it is configured