The syntax classes for samba share and printer names should respect the official restrictions: - A share name must be no more than 80 characters in length. - The following characters are illegal in a share name: \ / [ ] : | < > + = ; , * ? " - Control characters in range 0x00 through 0x1F, inclusive, are illegal in a share name. - All other Unicode characters are legal. - Names are case preserving and case insensitive. https://docs.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-shares--directories--files--and-metadata
cups printer names cannot contain spaces, according to the lpadmin manpage: "Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". Also, printer and class names are not case-sensitive." But I doubt this... I tried adding a printer containing " and lp always gives me Permission Denied. I also saw some commit in CUPS which prevents < and > in URL's due to a Cross Site Scripting issues.
This issue has been filed against UCS 4.4. UCS 4.4 is out of general maintenance and components may have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.