Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove leading slash when required #28

Closed
wants to merge 1 commit into from
Closed

Remove leading slash when required #28

wants to merge 1 commit into from

Conversation

Garrcomm
Copy link

@Garrcomm Garrcomm commented Nov 6, 2018

We were trying to open Word files downloaded from Sharepoint. For some reason, those zip files work a bit differently. When a trailing slash was added ("/word/document2.xml"), it failed. When I removed the trailing slash ("word/document2.xml"), it opened without any issue.

To fix this, I added a check if there is content. If not, try without slash.

@Progi1984
Copy link
Member

@Garrcomm Could you add an unit test befor I merge your PR ? Thanks :)

@Progi1984
Copy link
Member

@Garrcomm Hi, thank you for your contribution. Could you rebase your PR for fixing conflicting files ? or can I integrate your modifications in another PR ?

@Progi1984 Progi1984 added this to the 1.0.2 milestone Dec 11, 2023
@Progi1984
Copy link
Member

Superseeded by #53

@Progi1984 Progi1984 closed this Dec 11, 2023
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