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> |
Severity: | Enhancement | ||
Priority: | P5 - None | ||
Version: | Current | ||
Target Milestone: | --- | ||
Hardware: | x86-64 | ||
OS: | openSUSE Tumbleweed | ||
URL: | https://trello.com/c/Ugp7gZtd | ||
Whiteboard: | |||
Found By: | --- | Services Priority: | |
Business Priority: | Blocker: | --- | |
Marketing QA Status: | --- | IT Deployment: | --- |
Attachments: | YaST generated Debug_Non-OSS_Repository\n.repo |
Right, that input field should either sanitize the content or at least complain. Moved to our Trello task queue for a future sprint. |
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.