5fe315516f
to merge changes from setup.inc.sample.
13 lines
477 B
Plaintext
13 lines
477 B
Plaintext
$OpenBSD: patch-htdocs_syweb_tools_inc,v 1.2 2010/07/01 13:15:52 sthen Exp $
|
|
--- htdocs/syweb/tools.inc.orig Tue Jun 1 14:40:04 2010
|
|
+++ htdocs/syweb/tools.inc Wed Jun 30 17:07:55 2010
|
|
@@ -58,7 +58,7 @@ function normalise_filename($filename) {
|
|
$filename = $match[1];
|
|
}
|
|
/* remove all but lowercase and digits */
|
|
- $filename = preg_replace("/[^a-z0-9_]/", '', $filename);
|
|
+ $filename = preg_replace("/[^a-z0-9_-]/", '', $filename);
|
|
|
|
return $filename;
|
|
}
|