Fix for null ref error when query string has a trailing ampersand
Merge pull request #25 from hibri/fix-for-trailing-ampersands-in-url

Fix for null ref error when query string has a trailing ampersand