Changeset 953 for trunk/cgi-bin
- Timestamp:
- 08/02/24 13:03:48 (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/search.cgi
r935 r953 3 3 ## 4 4 # $Id$ 5 # Copyright 2005-2010,2012,2015-2017,2022 - Kris Deugau <kdeugau@deepnet.cx>5 # Copyright 2005-2010,2012,2015-2017,2022,2024 - Kris Deugau <kdeugau@deepnet.cx> 6 6 # 7 7 # This program is free software: you can redistribute it and/or modify … … 414 414 415 415 print qq(<div class="heading">Searching for description, customer ID, or circuit ID matching '$query'</div><br>\n); 416 ##fixme: suppress regex handling of ()[] 417 $query =~ s/([()\[\]])/\\$1/g; 416 418 # Query based on description (includes "name" from old DB). 417 419 $sql = "$sqlbase WHERE s.description ~* ? OR s.custid ~* ? OR s.circuitid ~* ?";
Note:
See TracChangeset
for help on using the changeset viewer.