Closed zeripath closed 3 years ago
Although query components are often key=value pairs - there is no absolute requirement for the keys to have values and if there is not a value then the equal sign should not be added.
Fixes go-gitea/gitea#15349
Signed-off-by: Andrew Thornton art27@cantab.net
Should add a test as well.
Thanks @zeripath !
Thanks to all... writers and reviewers :pray:
Although query components are often key=value pairs - there is no absolute requirement for the keys to have values and if there is not a value then the equal sign should not be added.
Fixes go-gitea/gitea#15349
Signed-off-by: Andrew Thornton art27@cantab.net