File: 1014_websec_robot.patch

package info (click to toggle)
awstats 8.0-3
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 13,244 kB
  • sloc: perl: 40,711; xml: 1,785; javascript: 1,493; java: 359; sh: 152; makefile: 40; php: 29
file content (31 lines) | stat: -rw-r--r-- 1,000 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Description: Add WebSec to robots list.
Author: Sergey B Kirpichev <skirpichev@gmail.com>
Bug-Debian: http://bugs.debian.org/284149
Forwarded: https://sourceforge.net/p/awstats/feature-requests/618

---
 wwwroot/cgi-bin/lib/browsers.pm |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

--- a/wwwroot/cgi-bin/lib/browsers.pm
+++ b/wwwroot/cgi-bin/lib/browsers.pm
@@ -256,7 +256,8 @@
 'POE\-Component\-Client\-HTTP',
 'mozilla',				# Must be at end because a lot of browsers contains mozilla in string
 'libwww',				# Must be at end because some browser have both 'browser id' and 'libwww'
-'lwp'
+'lwp',
+'WebSec'
 );
 
 # BrowsersHashIDLib
@@ -485,7 +486,8 @@
 'POE\-Component\-Client\-HTTP','HTTP user-agent for POE (portable networking framework for Perl)',
 'mozilla','Mozilla',
 'libwww','LibWWW',
-'lwp','LibWWW-perl'
+'lwp','LibWWW-perl',
+'WebSec', '<a href="http://baruch.ev-en.org/proj/websec/" title="Browser home page [new window]" target="_blank">Web Secretary</a>'
 );