Commit graph

2338 commits

Author SHA1 Message Date
Preston Maness
1810426774 Remove now-unused mark_safe import 2021-01-25 21:16:06 -06:00
Preston Maness
b647581115
Update archivebox/index/html.py
mark_safe is dangerous, as the URL's filename could have malicious HTML fragments in it.

Co-authored-by: Nick Sweeting <git@sweeting.me>
2021-01-25 20:47:57 -06:00
Nick Sweeting
ea209fa575 make permission chowning on docker start less fancy 2021-01-25 18:55:37 -05:00
Nick Sweeting
9764a8ed9b check for non html files from wget 2021-01-25 18:15:16 -05:00
Preston Maness
1989275944 Fix issue #617 by using mark_safe in combination with format_html
I have no experience with Django, so all I'm really going off of is this
stackoverflow

https://stackoverflow.com/a/64498319

which cited this bit of Django documentation:

https://docs.djangoproject.com/en/3.1/ref/utils/#django.utils.html.format_html

After using this method, I no longer get the 500 error or KeyError
exception, and can browse the local server and interact with the single
entry in it (the problematic URL in ArchiveBox#617 with curly braces).

Whether this is the "right" method or not, I have no idea. But it is at
least a start.
2021-01-23 20:32:56 -06:00
Nick Sweeting
c6f0b8e6b3
link dev time and money in new issue template 2021-01-23 17:10:58 -05:00
Nick Sweeting
5cf7efaade
Update setup.sh 2021-01-22 13:47:26 -05:00
Nick Sweeting
bfe8f4c539
Update setup.sh 2021-01-22 13:41:16 -05:00
Nick Sweeting
b1144f4a81
Update setup.sh 2021-01-22 13:40:14 -05:00
Nick Sweeting
d9366774b0
Update setup.sh 2021-01-22 13:37:25 -05:00
Nick Sweeting
7ab62d0b2c
update setup script 2021-01-22 13:03:57 -05:00
Nick Sweeting
bd05f0e029
Update README.md 2021-01-22 10:31:37 -05:00
Nick Sweeting
15c7fa2f31
fix wiki anchor link capitalization 2021-01-22 10:29:35 -05:00
Nick Sweeting
7e8d02a969
Update README.md 2021-01-22 10:26:39 -05:00
Nick Sweeting
9b26b11d95
Merge pull request #628 from thedanbob/fix-overwrite
fix: Refactor `should_save_extractor` methods to accept `overwrite` parameter
2021-01-22 17:11:42 +02:00
Dan Arnfield
5420903102 Refactor should_save_extractor methods to accept overwrite parameter 2021-01-21 15:56:32 -06:00
Nick Sweeting
553c3ca219
Update README.md 2021-01-20 22:09:09 -05:00
Nick Sweeting
fc2023b6de
Update README.md 2021-01-20 22:06:50 -05:00
Nick Sweeting
dfb726b9ce
Update README.md 2021-01-20 22:04:32 -05:00
Nick Sweeting
cfa9559d81
Update README.md 2021-01-20 22:01:19 -05:00
Nick Sweeting
f4d59449af
Update README.md 2021-01-20 21:59:07 -05:00
Nick Sweeting
e02974f85d
Update README.md 2021-01-20 21:57:30 -05:00
Nick Sweeting
b8d89b14e1
Update README.md 2021-01-20 21:54:06 -05:00
Nick Sweeting
c867443112
Update README.md 2021-01-20 21:52:14 -05:00
Nick Sweeting
4547dc4776
condense outputs 2021-01-20 21:50:33 -05:00
Nick Sweeting
6805a4688e
Update README.md 2021-01-20 21:43:02 -05:00
Nick Sweeting
f931fb30d4
Update README.md 2021-01-20 21:39:44 -05:00
Nick Sweeting
444edc22b7
Update README.md 2021-01-20 21:38:19 -05:00
Nick Sweeting
03f389b6a1
Update README.md 2021-01-20 21:34:23 -05:00
Nick Sweeting
fbdd3fff0b
Update README.md 2021-01-20 21:29:29 -05:00
Nick Sweeting
218ab8aa62
Update README.md 2021-01-20 21:26:24 -05:00
Nick Sweeting
1bf8367fd5
Update README.md 2021-01-20 21:21:08 -05:00
Nick Sweeting
554719e912
Update README.md 2021-01-20 21:15:00 -05:00
Nick Sweeting
8c3c52e1a1
Update README.md 2021-01-20 21:14:06 -05:00
Nick Sweeting
464a6b4eb3
Update README.md 2021-01-20 21:09:00 -05:00
Nick Sweeting
f796ec22e2
Update README.md 2021-01-20 21:04:56 -05:00
Nick Sweeting
142e300a32
Update README.md 2021-01-20 21:02:14 -05:00
Nick Sweeting
dfc1e80330
Update README.md 2021-01-20 20:57:47 -05:00
Nick Sweeting
dbdd16d79d
Update README.md 2021-01-20 20:52:21 -05:00
Nick Sweeting
2a90f58818
Update README.md 2021-01-20 20:44:17 -05:00
Nick Sweeting
b5cbd35dee
Update README.md 2021-01-20 20:34:27 -05:00
Nick Sweeting
4761533a80
remove overview section 2021-01-20 20:19:13 -05:00
Nick Sweeting
80738a3683
add link to LGTM alerts 2021-01-20 20:09:07 -05:00
Nick Sweeting
6ed6e2e45d
center all banners 2021-01-20 19:45:33 -05:00
Nick Sweeting
0b9b4c1a2c
Update README.md 2021-01-20 19:36:49 -05:00
Nick Sweeting
9163615d75
Update README.md 2021-01-20 19:34:06 -05:00
Nick Sweeting
ef7711ffa0 fix cookies file arg is path 2021-01-20 19:13:53 -05:00
Nick Sweeting
6c35b12fb9 remove assets folder 2021-01-20 19:07:21 -05:00
Nick Sweeting
a07ed3989e fix import path 2021-01-20 19:02:31 -05:00
Nick Sweeting
72e2c7b95d use relative imports for util 2021-01-20 18:44:28 -05:00