mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
Pass one at unfucking the stupid file encoding issues
This commit is contained in:
@@ -61,7 +61,7 @@ export default () => {
|
||||
setLoading(true);
|
||||
clearFlashes('files:view');
|
||||
fetchFileContent()
|
||||
.then(content => saveFileContents(uuid, name || hash.replace(/^#/, ''), content))
|
||||
.then(content => saveFileContents(uuid, name || decodeURI(hash.replace(/^#/, '')), content))
|
||||
.then(() => {
|
||||
if (name) {
|
||||
history.push(`/server/${id}/files/edit#/${name}`);
|
||||
|
||||
Reference in New Issue
Block a user