Skip to content
Commit 55a0ba25 authored by Björn Geuken's avatar Björn Geuken
Browse files

[webui] Prevent package submit requests from failing because of trailing whitespaces, issue#1248

When a user accidentally adds a trailing or leading whitespace in the targetpackage field,
OBS was running into an exception during creation of the submit request. This commit causes
OBS to remove trailing and leading whitespaces before passing the data to the BsRequest class.

Ideally there would be some javascript to prevent such user in put, but we currently
don't have that.
parent c69104d2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment