From 667cd86656681980d5496d7956de6173aefca29a Mon Sep 17 00:00:00 2001 From: Edward d'Auvergne <edward@nmr-relax.com> Date: Fri, 13 Apr 2018 09:08:07 +0200 Subject: [PATCH] fgValidatePath: Typo fix allowing the animated jetways to save files again. The typo was introduced in 7e607b84036414cdfbd3814e03985a8b8de9d03a 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) --- src/Main/util.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main/util.cxx b/src/Main/util.cxx index 96ab82bd6..b1ba57034 100644 --- a/src/Main/util.cxx +++ b/src/Main/util.cxx @@ -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