summaryrefslogtreecommitdiff
path: root/includes/sys_page.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2012-05-19 15:59:19 +0200
committerPhilip Häusler <msquare@notrademark.de>2012-05-19 15:59:19 +0200
commit2a944121f8157f23c6a5d00e68cf0071277802c8 (patch)
treebbef9527cc5adbb308a537d4cdc8ee0f025d35ed /includes/sys_page.php
parent4eaa0d10eae3b72088708f0db4f57926abb5e968 (diff)
#48 keep symbols in text messages
Diffstat (limited to 'includes/sys_page.php')
-rw-r--r--includes/sys_page.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/sys_page.php b/includes/sys_page.php
index c423155f..2e39ff43 100644
--- a/includes/sys_page.php
+++ b/includes/sys_page.php
@@ -29,14 +29,14 @@ function test_request_int($name) {
* Gibt den gefilterten REQUEST Wert mit Zeilenumbrüchen zurück
*/
function strip_request_item_nl($name) {
- return preg_replace("/([^\p{L}\p{P}\p{Z}\p{N}+\n]{1,})/ui", '', strip_tags($_REQUEST[$name]));
+ return preg_replace("/([^\p{L}\p{S}\p{P}\p{Z}\p{N}+\n]{1,})/ui", '', strip_tags($_REQUEST[$name]));
}
/**
* Entfernt unerwünschte Zeichen
*/
function strip_item($item) {
- return preg_replace("/([^\p{L}\p{P}\p{Z}\p{N}+]{1,})/ui", '', strip_tags($item));
+ return preg_replace("/([^\p{L}\p{S}\p{P}\p{Z}\p{N}+]{1,})/ui", '', strip_tags($item));
}
/**