Skip to content

Bug in yuarel_parse_query() function #16

@nike80

Description

@nike80

Hello, I found an error when 1 struct yuarel_param is passed to the yuarel_parse_query() function.
They are not working properly.

		char* query = "a=b&c=d";
		yuarel_param params;
		yuarel_parse_query(query, '&', &params, 1);

		// HERE
		// params.key == "a"
		// params.val ==  "b&c=d"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions