Skip to content

Conversation

@xjcb-de
Copy link

@xjcb-de xjcb-de commented Oct 13, 2024

I run into a case where there were multiple files in the HAR that had the same filepath and filename. The ZIP would then only include one of them.

This PR alters the filename if there's already one existing and adds a numbered suffix:
file.png --> file_2.png --> file_3.png ...

@JC3
Copy link
Owner

JC3 commented Oct 13, 2024

Thanks. Will this work if the filename has no extension?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants