Bugzilla – Full Text Bug Listing
|Summary:||YaST Software Repos allows creation of an invalid repository|
|Product:||[openSUSE] openSUSE Tumbleweed||Reporter:||Tamara Schmitz <tamara.zoe.schmitz>|
|Component:||YaST2||Assignee:||YaST Team <yast-internal>|
|Status:||CONFIRMED ---||QA Contact:||Jiri Srain <jsrain>|
|Priority:||P5 - None|
|Found By:||---||Services Priority:|
|Marketing QA Status:||---||IT Deployment:||---|
|Attachments:||YaST generated Debug_Non-OSS_Repository\n.repo|
Description Tamara Schmitz 2021-12-23 12:29:14 UTC
Created attachment 854780 [details] YaST generated Debug_Non-OSS_Repository\n.repo The Qt version of YaST Software Repositories was used to add a new repository called "Debug_Non-OSS_Repository ". The blank symbol appears to be an ASCII line break which was accidentally left in while copying the name from somewhere else. So not a backslash and an n, but rather ASCII character 0x0A. The creation was possible and nothing unusual happened when pressing OK. Right after reopening Software Management or Software Repositories in YaST shows the following error message: ``` Errors occurred while restoring the repository configuration. /etc/zypp/repos.d/Debug_Non-OSS_Repository .repo: Section : Line 1 contains garbage (no '=' or ':/?|,\' in key) ``` Clicking away the error message results in the component listing no repos. Please find attached the generated Repo file. (I had to remove the 0x0A from the file name in order for the form to accept it.
Comment 1 Stefan Hundhammer 2021-12-23 13:57:52 UTC
Right, that input field should either sanitize the content or at least complain.
Comment 2 Stefan Hundhammer 2021-12-23 13:58:33 UTC
Moved to our Trello task queue for a future sprint.