#145 Fix for relative paths

Слито
jens.klein слито 1 коммит(ов) из stefan.schmidt/relative_path_fix в SPIN/master 6 лет назад
Stefan Schmidt прокомментировал 6 лет назад

This should fix #115.

The underlying problem was that the id2t-script changed the current directory, rendering the specified path wrong if it was relative. This removes the directory changing and instead calls the python script with its full path, keeping the relative path intact.

This has the potential to break some attacks if there are any improperly specified paths left in the ID2T code, so we should probably thoroughly test this.

This should fix #115. The underlying problem was that the id2t-script changed the current directory, rendering the specified path wrong if it was relative. This removes the directory changing and instead calls the python script with its full path, keeping the relative path intact. This has the potential to break some attacks if there are any improperly specified paths left in the ID2T code, so we should probably thoroughly test this.
Слияние этого запроса успешно завершено!
Войдите, чтобы присоединиться к обсуждению.
Нет меток
Bug
Нет этапа
Нет ответственного
1 участников
Загрузка...
Отмена
Сохранить
Пока нет содержимого.