-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
Url decode the resourceId supplied to store.getResourceInternal to fix filenames containing spaces. #8581
Conversation
…x filenames containing spaces.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with thumbnail files containing spaces in the file name and seems working fine.
The backport to
stderr
stdout
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-4.2.x 4.2.x
# Navigate to the new working tree
cd .worktrees/backport-4.2.x
# Create a new branch
git switch --create backport-8581-to-4.2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick b16dd585656a30d5c42a97fcecd841e7e3000d65
# Push it to GitHub
git push --set-upstream origin backport-8581-to-4.2.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-4.2.x Then, create a pull request where the |
…x filenames containing spaces. (geonetwork#8581)
4.2 Backport conflict fixing pull request available #8587 |
…x filenames containing spaces. (geonetwork#8581)
Url decode the resourceId supplied to store.getResourceInternal to fix filenames containing spaces.
Without this fix, filename containing spaces may not be indexed in the data url as the file will not be found due to %20 in the filename.
Checklist
main
branch, backports managed with labelREADME.md
filespom.xml
dependency management. Update build documentation with intended library use and library tutorials or documentation