OpenPrinting / cups

OpenPrinting CUPS Sources
https://openprinting.github.io/cups
Apache License 2.0
958 stars 174 forks source link

Trying to display non-existing printer/class in web ui doesn't return 404 : Fixes #423 #889

Closed TheJayas closed 4 months ago

TheJayas commented 4 months ago

Fixes Issue #423 : When user open the api for any unknown classes or printers, then previously it was showing a random UI with that printer/class name. Now it will throw "ERROR : No class/printer found " error for those cases. Example for : http://localhost:631/classes/testclass or http://localhost:631/printers/testpriner @tillkamppeter please review the PR

michaelrsweet commented 4 months ago

No this isn't the correct fix.