[Impact]
An input error (e.g. a key being continuously pressed) in the gnome-software search field can lead to continuous searches being sent via snapd. This is beuause there is no limit in this search field.
[Test Case]
1. Open GNOME Software
2. Click search button
3. Continuously press and release 't'
Expected result:
Searches stop after a reasonable time.
Observed result:
Searches are continuously generated for each key press.
[Regression potential]
Low. The field is now limited to 100 characters and searches stop after this limit.
[Impact]
An input error (e.g. a key being continuously pressed) in the gnome-software search field can lead to continuous searches being sent via snapd. This is beuause there is no limit in this search field.
[Test Case]
1. Open GNOME Software
2. Click search button
3. Continuously press and release 't'
Expected result:
Searches stop after a reasonable time.
Observed result:
Searches are continuously generated for each key press.
[Regression potential]
Low. The field is now limited to 100 characters and searches stop after this limit.