Commits
- Commit:
6edd9a00dba749f4c342824a9cf42d5c48dd3d52
- From:
- Omar Polo <op@omarpolo.com>
- Date:
parse response MIME, check the charset and lang
If the charset is not UTF-8 nor ASCII then we don't know how to handle
the body and so rejects it. An abset charset is implied to be utf8,
so we're good.
In the generated HTML we always use UTF8 charset, which is fine too,
since it is a superset of ASCII.
Attempt also at saving the lang for later reuse in the generated HTML.
- Commit:
8fa3006a8eeb771690ed7e1e452b6b5cd0e064bf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
include a footer with the original URL
- Commit:
1296d9c0d7b4c0ba87e1881b77ae34b576ba572d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make sure PATH_INFO always start with a '/'
- Commit:
c5d5d231399df478b6d2d42ca6fde072abf57009
- From:
- Omar Polo <op@omarpolo.com>
- Date:
free vars before assigning them
prevent a leaks if the server sends some parameter twice
- Commit:
2944b5788d975ee467b544fc8c566c50e6948022
- From:
- Omar Polo <op@omarpolo.com>
- Date:
default PATH_INFO to "/" if empty
- Commit:
33f4bf26d1b76c691875b3ced0aa267928a0a2f6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
inline images
- Commit:
6e8f426eff55c3ebcd1977185da46975fac2d1ad
- From:
- Omar Polo <op@omarpolo.com>
- Date:
handle non-20 gemini response
- Commit:
247917be455490fb432d14a7cca37419333b7d3f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
close fcgi socket when not marked as keepalive
if the server hasn't specified the FCGI_KEEP_CONN bit in the request,
close the socket when we're done. This seems to be what httpd(8)
(most of the time) wants.
- Commit:
4e2df59f1ce054617cd1ec17582b64f49596684c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop debug printf
- Commit:
df5279ca412c6f286f39312c3a2b40295a609ee8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
filter out empty lines
- Commit:
b9de0a740a8a4a0c10be051e1f948c6eba7d9c4c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
improve gemtext -> html conversion
- Commit:
fc1cb9ea0716bf54463829dfca90b942ad5c8bf9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
link the specified stylesheet (if any)
- Commit:
b691dc5834da50450379bfc33318e109d055de96
- From:
- Omar Polo <op@omarpolo.com>
- Date:
TODO
- Commit:
ee80262d3fcd6cfa7551c0baebdcf792e1bdae95
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix request URL
use the matched proxy_name and append the received PATH_INFO. Still
undecided wether I should sanitize things here or not.
- Commit:
c9dc4bc68ef81f382a23f0ce29b0bada6dacc9c1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
scaffold the gemtext -> html conversion