View Issue Details

IDProjectCategoryLast Update
0001272AI War 1 / ClassicBug - OtherDec 21, 2010 4:19 pm
Reporterciaran Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version4.030 
Fixed in Version4.053 
Summary0001272: Save game names are not validated
DescriptionUnder OS X, at least, I made a save containing a forward slash, and a directory was created. This also works when providing a name such as '../../../../tmp/Test', which results in the file /tmp/Test.sav being created.
TagsNo tags attached.
Internal Weight

Relationships

duplicate of 0001015 resolvedChris_McElligottPark Info when saving games - invalid characters 
related to 0000982 resolvedChris_McElligottPark ? in savegame name causes non-fatal error message 

Activities

Chris_McElligottPark

Dec 21, 2010 4:19 pm

administrator   ~0006692

Thanks!

* Filenames for savegames are now fully validated, avoiding characters that are not allowed, filenames that are not allowed on windows (CON, LPT1, etc), and things like directory path separators that would cause the file to get saved into a subdirectory by accident.

Issue History

Date Modified Username Field Change
Nov 11, 2010 8:06 am ciaran New Issue
Nov 11, 2010 8:14 am Toll Relationship added duplicate of 0001015
Nov 11, 2010 8:14 am Toll Relationship added related to 0000982
Dec 21, 2010 4:19 pm Chris_McElligottPark Note Added: 0006692
Dec 21, 2010 4:19 pm Chris_McElligottPark Status new => resolved
Dec 21, 2010 4:19 pm Chris_McElligottPark Fixed in Version => 4.053
Dec 21, 2010 4:19 pm Chris_McElligottPark Resolution open => fixed
Dec 21, 2010 4:19 pm Chris_McElligottPark Assigned To => Chris_McElligottPark