[Fusionforge-general] (file?) upload: tilde character not allowed

Roland Mas lolando at debian.org
Thu Feb 18 17:22:54 CET 2010


Thorsten Glaser, 2010-02-18 09:43:46 +0100 :

> Hi,
>
> I just got a ticket from one of our employees stating that the
> tilde character is not allowed in filenames when "uploading",
> I think this means the FRS.
>
> Is this known, can this be changed (in a safe way)?
>
> Rationale: *.deb file version numbers.

  For the benefit of those who weren't on IRC this morning:
gforge/common/include/utils.php has a util_is_valid_filename() function,
with a regex defining allowed characters.  Alioth runs a slightly
modified version of that regex, which allows ~ and + as part of
filenames, and I'm not aware of any problems caused by that.

Roland.
-- 
Roland Mas

La menace de la baffe pèse plus lourd que la baffe elle-même.
  -- in Sri Raoul le petit yogi (Gaudelette)




More information about the Fusionforge-general mailing list