1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-06-25 19:55:22 +00:00
amfora/subscriptions
makeworld 1a2fba92c2 Add subscription manager, fix corrupt read/write & short URI panic
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.
2020-12-05 20:35:15 -05:00
..
entries.go Prevent potential nil error on timestamps 2020-11-27 17:52:36 -05:00
structs.go Add subscription manager, fix corrupt read/write & short URI panic 2020-12-05 20:35:15 -05:00
subscriptions.go Add subscription manager, fix corrupt read/write & short URI panic 2020-12-05 20:35:15 -05:00