Modify

Opened 12 years ago

Closed 11 years ago

#619 closed defect (fixed)

Allow numbers in webif scripts

Reported by: luke-jr+openwrt@… Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: Cc:

Description

Any reason not to use :alnum:??

Index: package/webif/files/usr/lib/webif/webif.sh
===================================================================
--- package/webif/files/usr/lib/webif/webif.sh  (revision 4083)
+++ package/webif/files/usr/lib/webif/webif.sh  (working copy)
@@ -38,7 +38,7 @@

 subcategories() {
        grep -H "##WEBIF:name:$1:" $cgidir/*.sh 2>/dev/null | \
-               sed -e 's,^.*/\([a-zA-Z\.\-]*\):\(.*\)$,\2:\1,' | \
+               sed -e 's,^.*/\([a-zA-Z0-9\.\-]*\):\(.*\)$,\2:\1,' | \
                sort -n | \
                awk -v "selected=$2" \
                        -v "rootdir=$rootdir" \

Attachments (0)

Change History (1)

comment:1 Changed 11 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in [4625]

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.