OSDN Git Service
(root)
/
pukiwiki
/
pukiwiki_sandbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c74aab9
)
Ad-hoc patch for "altavista?q=hoge\'s+site:nasty"
author
henoheno
<henoheno>
Sat, 27 Jan 2007 23:26:04 +0000
(08:26 +0900)
committer
henoheno
<henoheno>
Sat, 27 Jan 2007 23:26:04 +0000
(08:26 +0900)
spam.php
patch
|
blob
|
history
spam/spam.php
patch
|
blob
|
history
diff --git
a/spam.php
b/spam.php
index
f8a1b6d
..
080b91d
100644
(file)
--- a/
spam.php
+++ b/
spam.php
@@
-1,5
+1,5
@@
<?php
<?php
-// $Id: spam.php,v 1.1
09 2007/01/20 15:43:55
henoheno Exp $
+// $Id: spam.php,v 1.1
10 2007/01/27 23:26:04
henoheno Exp $
// Copyright (C) 2006-2007 PukiWiki Developers Team
// License: GPL v2 or (at your option) any later version
// Functions for Concept-work of spam-uri metrics
// Copyright (C) 2006-2007 PukiWiki Developers Team
// License: GPL v2 or (at your option) any later version
// Functions for Concept-work of spam-uri metrics
@@
-356,7
+356,7
@@
function spam_uri_pickup_preprocess($string = '')
')' .
'/' .
')' .
'/' .
- '([a-z0-9?=&.%_/
+-]+)' .
// path/?query=foo+bar+
+ '([a-z0-9?=&.%_/
\'\\\+-]+)' .
// path/?query=foo+bar+
'\bsite:([a-z0-9.%_-]+\.[a-z0-9.%_-]+)' . // site:nasty.example.com
//'()' . // Preserve or remove?
'#i',
'\bsite:([a-z0-9.%_-]+\.[a-z0-9.%_-]+)' . // site:nasty.example.com
//'()' . // Preserve or remove?
'#i',
diff --git
a/spam/spam.php
b/spam/spam.php
index
f8a1b6d
..
080b91d
100644
(file)
--- a/
spam/spam.php
+++ b/
spam/spam.php
@@
-1,5
+1,5
@@
<?php
<?php
-// $Id: spam.php,v 1.1
09 2007/01/20 15:43:55
henoheno Exp $
+// $Id: spam.php,v 1.1
10 2007/01/27 23:26:04
henoheno Exp $
// Copyright (C) 2006-2007 PukiWiki Developers Team
// License: GPL v2 or (at your option) any later version
// Functions for Concept-work of spam-uri metrics
// Copyright (C) 2006-2007 PukiWiki Developers Team
// License: GPL v2 or (at your option) any later version
// Functions for Concept-work of spam-uri metrics
@@
-356,7
+356,7
@@
function spam_uri_pickup_preprocess($string = '')
')' .
'/' .
')' .
'/' .
- '([a-z0-9?=&.%_/
+-]+)' .
// path/?query=foo+bar+
+ '([a-z0-9?=&.%_/
\'\\\+-]+)' .
// path/?query=foo+bar+
'\bsite:([a-z0-9.%_-]+\.[a-z0-9.%_-]+)' . // site:nasty.example.com
//'()' . // Preserve or remove?
'#i',
'\bsite:([a-z0-9.%_-]+\.[a-z0-9.%_-]+)' . // site:nasty.example.com
//'()' . // Preserve or remove?
'#i',