The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
[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,

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

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,

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

Thanks, that worked.