Skip to content

HTTP 404 overwrites whole TXT file #118

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

Open
kwmkjf opened this issue Sep 24, 2024 · 1 comment · May be fixed by #119
Open

HTTP 404 overwrites whole TXT file #118

kwmkjf opened this issue Sep 24, 2024 · 1 comment · May be fixed by #119

Comments

@kwmkjf
Copy link

kwmkjf commented Sep 24, 2024

I'm running gossa with an Apache2 Reverse Proxy, which serves the gossa Application with HTTPS and HTTP Basic Authentication.
I was idling on a Text File Edit Page and the HTTP Basic Authorization timed oud. I refreshed the Page and the "Body" of the Apache2 HTTP 404 Message was beeing displayed inside the gossa Text File Edit Page, as it would be the Content of my Textfile.
I then authenticated again in the HTTP Basic Auth Window and then unfortunately the whole Textfile has been overwritten with the HTTP 404 Message.

@pldubouilh pldubouilh linked a pull request Sep 28, 2024 that will close this issue
@pldubouilh
Copy link
Owner

hey - sorry about this ! I'm testing out a PR to make the text editor more conservative (writes to a swapfile, and renames upon saving). I'll test it out a bit further before merging 👍

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 a pull request may close this issue.

2 participants