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 string manipulation of paths #1941

Merged
merged 2 commits into from
Jul 25, 2022
Merged

Conversation

swiftcoder
Copy link
Contributor

@swiftcoder swiftcoder commented Jul 25, 2022

The string manipulation here breaks canonical Windows file paths, so use the path API directly instead.

Fixes #1939

Sanity check:

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Code changes

(Delete or ignore this section for documentation changes)

  • Are you doing the PR on the next branch?

If the change is a new feature or adding to/changing an existing one:

  • Have you created/updated the relevant documentation page(s)?

Keats and others added 2 commits July 25, 2022 14:14
The string manipulation here breaks canonical Windows file paths, so use the path API directly instead.
@Keats Keats changed the base branch from master to next July 25, 2022 18:22
@Keats Keats merged commit 187ce20 into getzola:next Jul 25, 2022
@Keats
Copy link
Collaborator

Keats commented Jul 25, 2022

Thanks! Not sure why this was there

@swiftcoder swiftcoder deleted the windows_paths branch July 25, 2022 18:42
Keats pushed a commit that referenced this pull request Aug 7, 2022
* remove string manipulation of paths
Keats pushed a commit that referenced this pull request Aug 14, 2022
* remove string manipulation of paths
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.

Panic in library::content::page::Page::serialize_assets on Windows
2 participants