#145 Fix for relative paths

Samengevoegd
jens.klein heeft 1 commits samengevoegd van stefan.schmidt/relative_path_fix naar SPIN/master 6 jaren geleden

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.
Dit pull-request is samengevoegd!
Sign in to join this conversation.
Geen mijlpaal
Geen verantwoordelijke
1 deelnemers
Laden...
Annuleren
Opslaan
Er is nog geen inhoud.