asciimoo
fd3b8ebc4c
Merge pull request #39 from dalf/comment
...
[fix] ignore all comments
git-svn-id: file:///srv/svn/repo/yukari/trunk@57 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-12-04 10:58:41 +00:00
alex
5f7d8768fb
[fix] ignore all comments (quick fix about the privacy issue with IE conditional comments)
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@56 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-29 13:52:16 +00:00
asciimoo
c951f11200
[enh] add url proxifier tests ++ fix proxification user url part handling
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@53 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-29 23:11:00 +00:00
asciimoo
46c188539b
Merge pull request #37 from dalf/url_fragment
...
[fix] URI fragment are not encoded in the mortyurl
git-svn-id: file:///srv/svn/repo/yukari/trunk@52 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-29 12:30:07 +00:00
alex
b45f6c0afe
[fix] URI fragment are not encoded in the mortyurl but are encoded as usual fragment so the browser can use them.
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@51 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-29 10:35:59 +00:00
asciimoo
5f79df00a5
[fix] use html content-type on xhtml responses - closes #17
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@50 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-29 10:12:48 +00:00
asciimoo
6202e9d41c
Merge pull request #36 from dalf/head
...
svg, math, link and meta tags
git-svn-id: file:///srv/svn/repo/yukari/trunk@47 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-28 20:34:53 +00:00
alex
cd487310a3
* ignore svg and math tags (most of attributes are ignored in the current implementation)
...
* add hreflang attribute as a safe one ( allows <meta rel="alternate" hreflang="x" href="" /> )
* if the meta tag contains a http_equiv attribute:
** if the value is safe, output the meta tag with the http_equiv attribute (avoid the <meta content="IE=edge">)
** if the value is not safe, ignore the meta tag
* ignore link tag with unsafe rel attribute (preconnect, prerender, etc... : see http://microformats.org/wiki/existing-rel-values )
* output always output <meta http-equiv="X-UA-Compatible" content="IE=edge"> at the top of the head.
git-svn-id: file:///srv/svn/repo/yukari/trunk@46 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-28 17:38:17 +00:00
asciimoo
9aee27e43d
Merge pull request #35 from dalf/url_encoding
...
Fetched URI matched the mortyurl.
git-svn-id: file:///srv/svn/repo/yukari/trunk@45 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-28 12:49:22 +00:00
alex
f8623282a5
[fix] fix #14 . Fetched URI matched the mortyurl.
...
Query parameters in requested URI were parsed and set again. Unfortunately a query ?a&b were changed into ?a=b= which can lead to 404 errors.
git-svn-id: file:///srv/svn/repo/yukari/trunk@44 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-28 09:59:14 +00:00
asciimoo
ce7aee2e64
Merge pull request #32 from dalf/encoding
...
[enh] support different encodings
git-svn-id: file:///srv/svn/repo/yukari/trunk@43 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-26 16:49:35 +00:00
alex
be236f879b
[enh] support different encodings (all encoding are convert to UTF-8 as before)
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@42 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-26 12:45:12 +00:00
alex
7e303f3fe9
[fix] fix infinite loop with <base target=".." />
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@40 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-26 10:16:11 +00:00
asciimoo
ba5cc3a702
[enh] forward content-disposition header
...
closes #21
git-svn-id: file:///srv/svn/repo/yukari/trunk@39 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-25 10:22:44 +00:00
asciimoo
e65b8cfd9e
[enh] use href attribute of base tag for base URL if presented
...
closes #18
git-svn-id: file:///srv/svn/repo/yukari/trunk@38 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-25 10:15:31 +00:00
asciimoo
7cd3fb67cd
[enh] display response errors to users ++ code formatting
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@37 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-24 21:35:37 +00:00
asciimoo
348a8346f4
Merge pull request #28 from dalf/http_status_code
...
[mod] returns different HTTP status codes according to the errors
git-svn-id: file:///srv/svn/repo/yukari/trunk@36 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-24 21:30:15 +00:00
alex
00bd224041
[mod] different HTTP status codes according to the errors :
...
* 200 - no URL
* 403 - invalid mortyhash, or javascript content
* 500 - error parsing URI or getting the webpage
* 501 - .onion domain
* 503 - no Content-Type header in the response, or error decoding content
* 504 - timeout
git-svn-id: file:///srv/svn/repo/yukari/trunk@35 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-22 13:50:27 +00:00
asciimoo
0081614106
[fix] readable log messages
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@33 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-24 19:49:56 +00:00
asciimoo
8716c2f731
Merge pull request #30 from dalf/html
...
[mod] static HTML
git-svn-id: file:///srv/svn/repo/yukari/trunk@32 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-24 19:46:31 +00:00
alex
3ff4bfcfeb
[mod] static HTML :
...
* footer remains at the bottom except when the page is too small
* wider input box for URL
* information on proxyfied pages are (perhaps?) always display in the same way (same size, same font)
* the referrer is not sent to the original page (rel="noreferrer")
git-svn-id: file:///srv/svn/repo/yukari/trunk@31 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-23 20:55:12 +00:00
alex
6df6f6bb02
[fix] #20 : <meta http-equiv='refresh'> : URL with simple quotes or doubles quote are proxified correctly.
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@29 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-23 16:57:17 +00:00
asciimoo
4422698257
Merge pull request #25 from dalf/cssurl
...
Fix #13 : some URL in CSS are not proxifed
git-svn-id: file:///srv/svn/repo/yukari/trunk@28 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-22 09:10:52 +00:00
alex
afebd341aa
Fix #13
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@27 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-21 22:36:58 +00:00
alex
f063eb1ef3
Fix #15
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@25 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-21 22:40:27 +00:00
asciimoo
63b833ac86
[mod] disable ipv6 by default
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@24 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-10-30 18:31:13 +00:00
asciimoo
c678b7763e
[mod] proxification refactor
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@23 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-10-30 16:54:54 +00:00
asciimoo
98adc74c0d
[fix] attribute escaping - better solution in the future: https://github.com/golang/go/issues/17667
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@21 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-10-30 12:24:56 +00:00
asciimoo
1419bf2e85
[fix] avoid fasthttp panic on .onion urls - see https://github.com/valyala/fasthttp/issues/196
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@18 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-10-29 18:46:27 +00:00
asciimoo
dad05aa832
[enh] do not serve javascript files
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@17 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-10-29 00:26:36 +00:00
asciimoo
65e5f60c75
[fix] css import expression - closes #7
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@15 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-10-27 15:00:55 +00:00
asciimoo
5584b71ac7
[fix] case insensitive http-equiv refresh redirect handling - fixes #5
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@14 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-10-27 14:47:30 +00:00
asciimoo
fba852d154
[fix] exclude dns-prefetch and preloaded scripts - fixes #4
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@13 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-10-27 14:16:10 +00:00
asciimoo
09be443cae
[mod] disable connection keepalive
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@12 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-10-25 23:28:31 +00:00
asciimoo
6349f7572f
[enh] enhanced main page
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@11 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-10-25 21:01:01 +00:00
asciimoo
594bc85db6
[enh] disallow crawling bots
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@10 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-10-25 14:55:06 +00:00
asciimoo
5dee40ae5c
[mod] use io.Writer in sanitizers
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@9 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-10-23 17:30:02 +00:00
asciimoo
d205a0bebb
[fix] support css @import statement
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@8 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-10-23 16:27:23 +00:00
asciimoo
a8a415b71f
[fix] support all kind of http redirections
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@7 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-10-21 19:01:49 +00:00
asciimoo
e0335acb30
[fix] injected html formatting + syntax
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@5 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-10-18 10:49:54 +00:00
asciimoo
f16dd59feb
[enh] add request timeout
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@4 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-10-17 23:26:20 +00:00
asciimoo
5d1ba83bbf
[fix] handle missing trailing slash in baseurl
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@3 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-10-16 09:37:09 +00:00
asciimoo
a65521c667
[fix] add mortykey to forms too
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@2 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-10-15 23:06:44 +00:00
asciimoo
75ab996639
[enh] initial commit
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@1 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-10-15 18:29:26 +00:00