PortableRest icon indicating copy to clipboard operation
PortableRest copied to clipboard

GetEncodedValue doesn't check for null values

Open Qwin opened this issue 7 years ago • 2 comments

When adding AddParameter and one of the values is null it will choose to encode and make PortableRest explode on GetEncodedValue (null pointer exception).

Resolution: Add a null check.

Qwin avatar Dec 13 '17 21:12 Qwin

Hey @Qwin, I'd like to get this resolved for you. Can you please post some sample code that reproduces the error? I'd like to build in some unit tests that account for it.

Thanks!

robertmclaws avatar Dec 16 '17 19:12 robertmclaws

@robertmclaws will do. Sorry saw your message really late.

Qwin avatar Dec 20 '17 17:12 Qwin