1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-09-23 22:45:54 -04:00
amfora/display
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
..
bookmarks.go Fix duplicated bookmarks bug 2020-11-19 11:39:08 -05:00
display.go Add subscription manager, fix corrupt read/write & short URI panic 2020-12-05 20:35:15 -05:00
download.go 🐛 Fixes #81 2020-11-04 20:01:11 -05:00
file.go fix for #103: Simple handling of local (file://) urls (#117) 2020-11-22 16:25:20 -05:00
handlers.go Add subscription manager, fix corrupt read/write & short URI panic 2020-12-05 20:35:15 -05:00
help.go Switch subscription-based naming 2020-11-27 17:01:29 -05:00
history.go Add option to automatically follow redirects (#75) 2020-08-27 18:55:42 -04:00
modals.go 🚧 Adding & displaying feeds/pages works 2020-11-17 20:56:15 -05:00
newtab.go Add subscription manager, fix corrupt read/write & short URI panic 2020-12-05 20:35:15 -05:00
private.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
tab.go Add subscription manager, fix corrupt read/write & short URI panic 2020-12-05 20:35:15 -05:00
util_test.go 🐛 Recog. colon-only scheme URLs and add normalizeURL tests 2020-08-27 19:57:06 -04:00
util.go Revert "🚸 Support numpad enter key" 2020-11-21 19:35:17 -05:00