The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
[Bug?] characters in uploaded filename breaks display/link in view - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: [Bug?] characters in uploaded filename breaks display/link in view (/showthread.php?tid=696) |
[Bug?] characters in uploaded filename breaks display/link in view - Nowton - May 11th, 2010 As above. I have user called André (no html allowed here I see) upload a file with his name in the filename. The view in FT shortens the filename at the offending character ("CV-Andr"). Upload went fine, it's just that we cannot acces it from the FT installation. Apparently these characters aren't being escaped properly. Anyone care to shine some light on this? Ben?! RE: [Bug?] characters in uploaded filename breaks display/link in view - Ben - May 15th, 2010 Hi Nowton, Yes, this looks like a bug. I looked at the code and all it does is strip out whitespace. Instead, it should contain a whitelist of acceptable characters. Probably just a-Z, 0-9, _ and -. I've listed it here: http://bugs.formtools.org/index.php?cmd=view&id=229 I'll include a fix for this in 2.0.1. Thanks! - Ben RE: [Bug?] characters in uploaded filename breaks display/link in view - Nowton - May 17th, 2010 (May 15th, 2010, 9:55 AM)Ben Wrote: Hi Nowton, Thanks for acknowledging this. How would I go about updating this installation? The built-in updater does not find a new build. Thanks. RE: [Bug?] characters in uploaded filename breaks display/link in view - Ben - May 18th, 2010 Hi Nowton, Really? When you click on the "Check Updates" button you should get redirected to the Form Tools site. There, at the top right you should see a button labeled "Show Beta Versions" (or something like that). After you click it, you should see the latest Core beta build & be able to select it. No luck? - Ben RE: [Bug?] characters in uploaded filename breaks display/link in view - Nowton - May 19th, 2010 (May 18th, 2010, 6:46 AM)Ben Wrote: Hi Nowton, Thanks, that worked. |