On 2017-10-30 11:34:11, Matthieu Moy wrote:
> Antoine Beaupré writes:
>
>> @@ -52,7 +53,7 @@ sub smudge_filename {
>> $filename =~ s/ /_/g;
>> # Decode forbidden characters encoded in clean_filename
>> $filename =~ s/_%_([0-9a-fA-F][0-9a-fA-F])/sprintf('%c',
Antoine Beaupré writes:
> @@ -52,7 +53,7 @@ sub smudge_filename {
> $filename =~ s/ /_/g;
> # Decode forbidden characters encoded in clean_filename
> $filename =~ s/_%_([0-9a-fA-F][0-9a-fA-F])/sprintf('%c', hex($1))/ge;
> - return $filename;
> +
mediawiki pages can have names longer than NAME_MAX (generally 255)
characters, which will fail on checkout. we simply strip out extra
characters, which may mean one page's content will overwrite another
(the last editing winning).
ideally, we would do a more clever system to find unique names,
3 matches
Mail list logo