mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[PR #421] [MERGED] feat: base64 index-data to avoid misencoding #605
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/sigoden/dufs/pull/421
Author: @sigoden
Created: 7/22/2024
Status: ✅ Merged
Merged: 7/22/2024
Merged by: @sigoden
Base:
main← Head:feat📝 Commits (1)
928120dfeat: base64 index-data to avoid misencoding📊 Changes
4 files changed (+15 additions, -8 deletions)
View changed files
📝
assets/index.js(+1 -1)📝
src/auth.rs(+3 -3)📝
src/server.rs(+6 -2)📝
tests/utils.rs(+5 -2)📄 Description
When passing data using html template, its JSON content is automatically escaped for HTML entities. see #419
We can use base64 to prevent such issues.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.