https://bugs.kde.org/show_bug.cgi?id=498149
Bug ID: 498149 Summary: Lack of automatic encoding of printer SMB URI causes failure of adding a new printer Classification: Frameworks and Libraries Product: print-manager Version: 22.12.3 Platform: Debian stable OS: Linux Status: REPORTED Severity: major Priority: NOR Component: general Assignee: dantt...@gmail.com Reporter: patrikgrguri...@gmail.com Target Milestone: --- SUMMARY I'm trying to add my company's printer, which is available through SMB at this URI: smb://name.surn...@firm.com@share/Xerox VersaLink B7030 ITIS Which gets encoded to: smb://name.surname%40firm.com@share/Xerox VersaLink B7030 ITIS This causes an error when adding the printer: 1028 "Bad device-uri \"smb://name.surname%40firm.com@share/Xerox VersaLink B7030 ITIS\"." Troubleshooting with ChatGPT, I got to this URI: smb://name.surname%2540firm.com@share/Xerox%20VersaLink%20B7030%20ITIS It works, so I'm guessing the encoding done by this utility/CUPS is insufficient? STEPS TO REPRODUCE 1. Try to add a new printer that has spaces in its name with SMB OBSERVED RESULT The process silently fails at the "Finish" step with the aforementioned log line seen in the journal. EXPECTED RESULT The printer is successfully added. SOFTWARE/OS VERSIONS Operating System: Debian GNU/Linux 12 KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.11.10+bpo-amd64 (64-bit) Graphics Platform: offscreen Processors: 16 × AMD Ryzen 7 7735HS with Radeon Graphics Memory: 13.3 GiB of RAM Graphics Processor: AMD Radeon Graphics ADDITIONAL INFORMATION CUPS version: 2.4.2-3+deb12u8 -- You are receiving this mail because: You are watching all bug changes.