Skip to content
Snippets Groups Projects
  1. May 19, 2010
  2. May 17, 2010
  3. May 13, 2010
  4. May 08, 2010
  5. May 06, 2010
  6. May 05, 2010
  7. May 04, 2010
  8. Apr 30, 2010
  9. Apr 29, 2010
  10. Apr 28, 2010
  11. Apr 26, 2010
  12. Apr 18, 2010
  13. Apr 15, 2010
  14. Apr 12, 2010
  15. Apr 11, 2010
  16. Apr 10, 2010
  17. Apr 09, 2010
  18. Apr 08, 2010
  19. Apr 04, 2010
    • Christopher Smith's avatar
      SafeFN test cases · c5c9e5ff
      Christopher Smith authored
      c5c9e5ff
    • Christopher Smith's avatar
    • Andreas Gohr's avatar
    • Andreas Gohr's avatar
      new fnencode option FS#1649 · f03fd957
      Andreas Gohr authored
      This patch adds an option to choose how filenames are encoded
      when saved to the file system. You can choose between urlencoding
      (url), the new SafeFn method (safe) and storing real UTF-8 (utf-8).
      f03fd957
    • Christopher Smith's avatar
      class for safely encoding filenames · 70e083ce
      Christopher Smith authored
      This class tries to satisfy the following requirements:
      
        * all ASCII alphanumeric chars in the input should stay the same
          ASCII alphanumeric chars in the output
        * the resulting string should be as short as possible
        * the operation needs to be reversable without any data loss
        * the resulting ASCII string should be case insensitive
        * there should be no restriction on the input length
        * the whole UTF-8 range should be allowed
      
      using it creates a way to store UTF-8 in filenames even if the
      underlying filesystem does not support UTF-8. It is also pretty
      robust when files are moved between various filesystems and it
      creates shorter filenames than the currently used urlencoding.
      70e083ce
Loading