dolibarr-git
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-git] [Dolibarr/dolibarr] f661b9: FIX : use dol_sanitizeFileNam


From: Laurent Destailleur
Subject: [Dolibarr-git] [Dolibarr/dolibarr] f661b9: FIX : use dol_sanitizeFileName() function to remov...
Date: Mon, 13 May 2019 03:01:06 -0700

  Branch: refs/heads/8.0
  Home:   https://github.com/Dolibarr/dolibarr
  Commit: f661b926fa42d1aba99f610e63e6de731feb1408
      
https://github.com/Dolibarr/dolibarr/commit/f661b926fa42d1aba99f610e63e6de731feb1408
  Author: gauthier <address@hidden>
  Date:   2019-05-07 (Tue, 07 May 2019)

  Changed paths:
    M htdocs/core/lib/files.lib.php

  Log Message:
  -----------
  FIX : use dol_sanitizeFileName() function to remove double spaces in 
filenames, as well as done on document.php when we want to download pdf
Example : if you upload a file like "my  file.pdf" (with 2 spaces), it's 
impossible to download it after. then we have to remove at least 1 space


  Commit: c67d79a4e2ece3a0b87b752c05577629d3aacec1
      
https://github.com/Dolibarr/dolibarr/commit/c67d79a4e2ece3a0b87b752c05577629d3aacec1
  Author: Laurent Destailleur <address@hidden>
  Date:   2019-05-13 (Mon, 13 May 2019)

  Changed paths:
    M htdocs/core/lib/files.lib.php

  Log Message:
  -----------
  Update files.lib.php


  Commit: 1626c9fb6e813829ed05efcef3c793937a83411d
      
https://github.com/Dolibarr/dolibarr/commit/1626c9fb6e813829ed05efcef3c793937a83411d
  Author: Laurent Destailleur <address@hidden>
  Date:   2019-05-13 (Mon, 13 May 2019)

  Changed paths:
    M htdocs/core/lib/files.lib.php

  Log Message:
  -----------
  Merge pull request #11145 from atm-gauthier/8.0_fix_filename_with_two_spaces

FIX : use dol_sanitizeFileName() function to remove double spaces in …


Compare: 
https://github.com/Dolibarr/dolibarr/compare/072a455ca41f...1626c9fb6e81



reply via email to

[Prev in Thread] Current Thread [Next in Thread]