Error calling make_dirs when a long URL is passed #521

Closed
viyatb opened this Issue Nov 27, 2015 · 1 comment

Comments

Projects
None yet
1 participant
@viyatb
Member

viyatb commented Nov 27, 2015

[!] Aborted by Framework: Error when calling 'make_dirs'! [Errno 36] File name too long

Required files and folders not created as a result.

@viyatb

This comment has been minimized.

Show comment
Hide comment
@viyatb

viyatb Dec 6, 2015

Member

Most of the OSes have a 255 char limit on file/folder name. Maybe the temporary file being created violated that and hence the error.

To mitigate that, we can either check len(path_name) and handle it or just truncate it everytime path_name[:255].

Suggestions?

Member

viyatb commented Dec 6, 2015

Most of the OSes have a 255 char limit on file/folder name. Maybe the temporary file being created violated that and hence the error.

To mitigate that, we can either check len(path_name) and handle it or just truncate it everytime path_name[:255].

Suggestions?

@viyatb viyatb added the in progress label Dec 10, 2015

@viyatb viyatb added the Bug label Jan 18, 2016

@viyatb viyatb self-assigned this Jan 18, 2016

@viyatb viyatb added this to the OWTF Quality Release milestone Jan 18, 2016

@viyatb viyatb closed this in 5622c26 Jan 22, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment