#145 Fix for relative paths

Merged
jens.klein merged 1 commits from stefan.schmidt/relative_path_fix into SPIN/master 6 år sedan

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.
This pull request has been merged successfully!
Logga in för att delta i denna konversation.
Ingen Etikett
Bug
Ingen Milsten
Ingen förvärvare
1 Deltagare
Laddar...
Avbryt
Spara
Det finns inget innehåll än.