fgValidatePath: Typo fix allowing the animated jetways to save files again.
The typo was introduced in 7e607b8403
from July
2016. The result was a series of alert messages such as:
savexml: writing to 'Path "/flightgear/home/.fgfs/runtime-jetways/0.xml"' denied
(unauthorized directory - authorization no longer follows symlinks)
This commit is contained in:
parent
22cf6bd5e4
commit
667cd86656
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ void fgInitAllowedPaths()
|
|||
write_allowed_paths.push_back(fg_home + "/state/*.xml");
|
||||
write_allowed_paths.push_back(fg_home + "/aircraft-data/*.xml");
|
||||
write_allowed_paths.push_back(fg_home + "/Wildfire/*.xml");
|
||||
write_allowed_paths.push_back(fg_home + "/runtime-jetway/*.xml");
|
||||
write_allowed_paths.push_back(fg_home + "/runtime-jetways/*.xml");
|
||||
write_allowed_paths.push_back(fg_home + "/Input/Joysticks/*.xml");
|
||||
|
||||
// Check that it works
|
||||
|
|
Loading…
Add table
Reference in a new issue