Parent Directory | Revision Log | Revision Graph | Patch
Revision 1.1 by jpp, Sun Jul 17 04:27:59 2022 UTC | Revision 1.2 by jpp, Sun Jul 17 04:45:24 2022 UTC | |
---|---|---|
# | Line 6 diff -Nur --no-dereference e-smith-LPRng | Line 6 diff -Nur --no-dereference e-smith-LPRng |
6 | ||
7 | my $location = $q->param ('location'); | my $location = $q->param ('location'); |
8 | - if ($location =~ /^(.*)$/) | - if ($location =~ /^(.*)$/) |
9 | + if ($location =~ /^(lp0|lp1|lp2|remote|usb\/lp0|usb\/lp1)$/) | + if ($location =~ /^(lp[0-9]+|remote|usb\/lp0|usb\/lp[0-9]+)$/) |
10 | { | { |
11 | $location = $1; | $location = $1; |
12 | } | } |
|
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |