freemanoid/truncator — pull request #2 by loren (2013-11-12 17:31:45+00:00)
Title: Issue: shortening URL containing a query param with no value causes Exce...

...ption

ArgumentError: invalid data of application/x-www-form-urlencoded (searchNpi=1629006051&city=&firstName=&orgName=&searchType=ind&state=&npi=1629006051&orgDba=&lastName=&zip)
./lib/truncator/extended_uri.rb:48:in `query_parameters'
./lib/truncator/url_parser.rb:20:in `shorten_url'
./spec/url_parser_spec.rb:171:in `block (4 levels) in '