skyjake / lagrange

A Beautiful Gemini Client
https://gmi.skyjake.fi/lagrange/
BSD 2-Clause "Simplified" License
1.16k stars 62 forks source link

Bug in Titan: sends an empty request on startup #671

Open bleonard252 opened 2 weeks ago

bleonard252 commented 2 weeks ago

On occasion (after crashing?), if the current tab is set to a Titan URI, on startup it may send an empty request to that Titan URI, with no token and no body, which causes the receiving server to delete or empty the file it was previously looking at.

skyjake commented 2 weeks ago

The correct behavior here would be that tabs with a Titan URI are never restored (reloaded) at launch, because they are upload operations.

A similar issue can occur when navigating back and forward in history.