kencochrane/raven-java — pull request #7 by griphiam (2012-03-02 05:23:53+00:00)
Title: Issues with Path and Port

There were issues with the code when you have Sentry configured in a subdirectory rather than the root of the webserver (projectId comes after the last slash). Also, URL.getPort() returns -1 if there is no port.

I added a Config test to validate that RavenConfig pulls the DSN apart correctly.