Searched refs:safe (Results 1 – 5 of 5) sorted by relevance
/dokuwiki/inc/ |
D | SafeFN.class.php | 89 public static function validateSafe($safe) argument 91 …urn !preg_match('#[^' . self::$plain . self::$post_indicator . self::$pre_indicator . ']#', $safe); 105 $safe = ''; 111 $safe .= self::$post_indicator; 114 $safe .= chr($codepoint); 116 $safe .= self::$pre_indicator; 119 $safe .= self::$pre_indicator . base_convert((string)($codepoint - 32), 10, 36); 123 if ($converted) $safe .= self::$post_indicator; 124 return $safe; 130 * @param string $safe a filename in 'safe_filename' format [all …]
|
D | pageutils.php | 699 * @param bool $safe if true, only encoded when non ASCII characters detected 702 function utf8_encodeFN($file, $safe = true) argument 707 if ($safe && preg_match('#^[a-zA-Z0-9/_\-\.%]+$#', $file)) {
|
/dokuwiki/_test/tests/inc/ |
D | safefn.test.php | 30 list($utf8,$safe) = $test; 31 $this->assertEquals(SafeFN::encode($utf8),$safe); 32 $this->assertEquals(SafeFN::decode($safe),$utf8); 40 list($utf8,$safe) = $test; 41 $this->assertEquals(SafeFN::decode($safe),$utf8);
|
/dokuwiki/lib/plugins/styling/lang/en/ |
D | intro.txt | 2 All changes are stored in a local configuration file and are upgrade safe.
|
/dokuwiki/lib/plugins/safefnrecode/ |
D | plugin.info.txt | 6 desc Changes existing page and foldernames for the change in the safe filename encoding
|