[erlang-questions] Should uri_string:dissect_query/1 be able to parse this?

Marc Worrell marc@REDACTED
Fri May 10 09:50:23 CEST 2019


A query argument without a ‘=‘ is something you see quite often.
So in my opinion the uri_string module should be able to handle it.

- Marc


> On 10 May 2019, at 04:31, Leo Liu <sdl.web@REDACTED> wrote:
> 
> uri_string is a solid module and great addition. I like using it
> whenever possible. But,
> 
>> uri_string:dissect_query("b=12&a").
>  {error,missing_value,<<>>}
> 
> whenever there is a key without a trailing =.
> 
> Does it make more sense to be able to parse these query strings?
> 
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list