mirror of
https://github.com/makew0rld/amfora.git
synced 2025-02-02 15:07:34 -05:00
More info on corrupt reads and writes: https://github.com/makeworld-the-better-one/amfora/issues/61#issuecomment-735042805 The panic was occuring due to lines like: if u[:6] == "about:" These would cause panics for URIs that were shorter than 6, like "docs/". strings.HasPrefix was used instead to fix this.