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

Added thumbnail URI encoding #618

Merged
merged 2 commits into from
Mar 31, 2022

Conversation

bhelm
Copy link

@bhelm bhelm commented Mar 29, 2022

Noticed that a thumbnail was not displaying when i uploaded a gcode file with "infill 10%" in its name. Turned out the thumbnail name is basically the gcode name and also contained the % character which was not url encoded. Fixed that and also for the path, as the same problem may happen there.

The gcode name was auto-generated by the cura "Gcode Filename Format Plus" plugin.

src/store/helpers.ts Outdated Show resolved Hide resolved
@pedrolamas pedrolamas added the GH - Bug Something isn't working label Mar 30, 2022
@pedrolamas pedrolamas added this to the 1.18 milestone Mar 30, 2022
Improved thumbnail URL encoding

Co-authored-by: Pedro Lamas <[email protected]>
@pedrolamas pedrolamas self-requested a review March 31, 2022 07:02
Copy link
Member

@pedrolamas pedrolamas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pedrolamas pedrolamas requested a review from matmen March 31, 2022 07:02
@matmen matmen merged commit 30efd5f into fluidd-core:master Mar 31, 2022
pedrolamas added a commit that referenced this pull request Mar 31, 2022
pedrolamas added a commit that referenced this pull request Mar 31, 2022
This reverts commit 30efd5f.

Signed-off-by: Pedro Lamas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GH - Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants