Revision 668
Added by thorn almost 17 years ago
trunk/CHANGELOG | ||
---|---|---|
10 | 10 |
# = Bugfix |
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 |
------------------------------------- 2.7.0 ------------------------------------- |
|
13 |
------------------------------------- 2.7.0 ------------------------------------- |
|
14 |
04-Feb-2008 Thomas Hornik |
|
15 |
! email-addresses are excluded from search-results page. |
|
14 | 16 |
04-Feb-2008 Christian Sommer |
15 | 17 |
# allowed usage of tags in settings fields: website_header, website_footer |
16 | 18 |
03-Feb-2008 Thomas Hornik |
... | ... | |
21 | 23 |
02-Feb-2008 Christian Sommer |
22 | 24 |
# fixed wrong redirect in /admin/images |
23 | 25 |
02-Feb-2008 Thomas Hornik |
24 |
! search will show email-addresses, even if email-filter is activated (on page with highlighting). Fixed.
|
|
26 |
! search shows email-addresses, even if email-filter is activated (on page with highlighting). Fixed.
|
|
25 | 27 |
+ Added missing text in languages files for jscalendar |
26 | 28 |
! settings: pages-directory '/' will be converted to '' (empty string) on save. |
27 | 29 |
! changed last remaining call to my_htmlspecialchars() to htmlspecialchars() |
trunk/wb/search/search_modext.php | ||
---|---|---|
235 | 235 |
// prepare the text (part 1): remove lf and cr, convert \" to ", remove comments, style, scripting and unnecessary whitespace, convert to utf8 |
236 | 236 |
$mod_text = strtr($mod_text, array("\x0D\x0A" => ' ', "\x0D" => ' ', "\x0A" => ' ', '\"' => '"')); |
237 | 237 |
$mod_text = preg_replace('/(<!--.*?-->|<style.*?<\/style>|<script.*?<\/script>|\s+)/i', ' ', $mod_text); |
238 |
// remove email-addresses |
|
239 |
$mod_text = preg_replace('/\b[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}\b/', ' ', $mod_text); |
|
238 | 240 |
$mod_text = entities_to_umlauts($mod_text, 'UTF-8'); |
239 | 241 |
|
240 | 242 |
// make the link from $mod_page_link, add target |
Also available in: Unified diff
email-addresses are excluded from search-results page