Skip to content

Commit 1c9d658

Browse files
committed
Fix IPP/PPD names with period and underscore (Issue #1249)
1 parent fcf6fde commit 1c9d658

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cups/ppd-cache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5832,7 +5832,7 @@ pwg_unppdize_name(const char *ppd, /* I - PPD keyword */
58325832

58335833
for (ptr = name, end = name + namesize - 1; *ppd && ptr < end; ppd ++)
58345834
{
5835-
if (_cups_isalnum(*ppd))
5835+
if (_cups_isalnum(*ppd) || *ppd == '.' || *ppd == '_')
58365836
{
58375837
*ptr++ = (char)tolower(*ppd & 255);
58385838
nodash = 0;

0 commit comments

Comments
 (0)