37 Commits

Author SHA1 Message Date
erik%vanderpoel.org
3cb46271fa make clickable http Location: header value use relative url
git-svn-id: svn://10.0.0.236/trunk@215177 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-12 06:16:36 +00:00
erik%vanderpoel.org
86efefb9d7 added printHTML method to app and made http.c call it so that grab does
not crash

added transparency idea to TODO


git-svn-id: svn://10.0.0.236/trunk@176612 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 14:18:36 +00:00
erik%vanderpoel.org
acc45ab496 now using short tags like <b> and CSS instead of <font color=...>;
this chops the output size in half


git-svn-id: svn://10.0.0.236/trunk@168847 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-05 16:30:04 +00:00
erik%vanderpoel.org
f419902b1e oops, must not look for / in unquoted attribute value
git-svn-id: svn://10.0.0.236/trunk@168820 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-04 23:12:59 +00:00
erik%vanderpoel.org
f47b4719a5 divide output into request and response sections with headings
git-svn-id: svn://10.0.0.236/trunk@168809 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-04 20:11:34 +00:00
erik%vanderpoel.org
55339ed1fb updated the todo list
git-svn-id: svn://10.0.0.236/trunk@168759 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 19:32:10 +00:00
erik%vanderpoel.org
e50a14bd3d added support for XHTML's empty elements <foo />;
added support for declarations like <!DOCTYPE ...>;
added support for processing instructions like <?xml ...>


git-svn-id: svn://10.0.0.236/trunk@168738 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 01:06:24 +00:00
erik%vanderpoel.org
1e8097d097 valgrind memory leaks
git-svn-id: svn://10.0.0.236/trunk@168302 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 16:04:39 +00:00
erik%vanderpoel.org
b8a83edc55 added license at top
git-svn-id: svn://10.0.0.236/trunk@168301 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 16:00:49 +00:00
erik%vanderpoel.org
7bb78f54be bug 153691: some HTTP 1.1 support; also, view.cgi now shows HTTP request
git-svn-id: svn://10.0.0.236/trunk@168292 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 08:22:29 +00:00
erik%vanderpoel.org
ca5a162b51 http.c now takes care of the HTTP Host: request header so that the other
tools (e.g. grab) will work properly too


git-svn-id: svn://10.0.0.236/trunk@168173 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-22 16:08:22 +00:00
erik%vanderpoel.org
b3fabbb214 grab sniffuri.org by default, into directory test/grab
git-svn-id: svn://10.0.0.236/trunk@168163 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-21 23:54:34 +00:00
erik%vanderpoel.org
0369416d97 robot now uses <pre> to match view.cgi
git-svn-id: svn://10.0.0.236/trunk@168162 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-21 23:50:42 +00:00
erik%vanderpoel.org
045f667d6c view.cgi: not bold, indented, newlines in source of output itself
git-svn-id: svn://10.0.0.236/trunk@168151 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-21 20:11:50 +00:00
erik%vanderpoel.org
8fcf98f5a3 make the Makefile a bit quieter
git-svn-id: svn://10.0.0.236/trunk@168141 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-21 19:01:20 +00:00
erik%vanderpoel.org
214d46991d bug 78172: support HTTP Referer request header
git-svn-id: svn://10.0.0.236/trunk@168138 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-21 18:14:10 +00:00
erik%vanderpoel.org
018ba72ca3 valgrind caught an off-by-one allocation bug
git-svn-id: svn://10.0.0.236/trunk@168137 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-21 18:09:53 +00:00
erik%vanderpoel.org
615010e78c oops
git-svn-id: svn://10.0.0.236/trunk@168121 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-21 07:29:01 +00:00
erik%vanderpoel.org
36292209ed bug 90199;
had to send whole HTTP request in one go to get the simple httpd.c to work;
then I reproduced this bug and fixed it by treating a missing
Content-Type header as random bytes (essentially, application/octet-stream)


git-svn-id: svn://10.0.0.236/trunk@168119 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-21 06:30:02 +00:00
erik%vanderpoel.org
57daac122e simple HTTP server for testing bug 90199
git-svn-id: svn://10.0.0.236/trunk@168088 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 22:23:49 +00:00
erik%vanderpoel.org
712c70a9ba app callbacks are now overrideable function pointers instead of global funcs
this reduces the number of empty functions in the apps


git-svn-id: svn://10.0.0.236/trunk@168082 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 21:09:40 +00:00
erik%vanderpoel.org
4e0691bf7d bug 168295
SniffURI now gives an error message when no URI is entered.


git-svn-id: svn://10.0.0.236/trunk@168041 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 01:38:31 +00:00
erik%vanderpoel.org
e3fb7f479e bug 54880
fixed html parser to show '>' at end of file without newline


git-svn-id: svn://10.0.0.236/trunk@168040 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 01:17:05 +00:00
erik%vanderpoel.org
13dbb95951 better error reporting in view.cgi verbose mode
git-svn-id: svn://10.0.0.236/trunk@168005 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-19 19:10:41 +00:00
erik%vanderpoel.org
e352276a10 bug 57556
previous fix for this bug introduced new bug
namely, it showed horizontal lines and status messages in non-verbose mode
also, valgrind found an off-by-one allocation error
fixed now


git-svn-id: svn://10.0.0.236/trunk@168000 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-19 18:03:44 +00:00
erik%vanderpoel.org
b2515bf466 ported to Linux, renamed SniffURI, reference to sniffuri.org
git-svn-id: svn://10.0.0.236/trunk@167995 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-19 17:35:18 +00:00
erik%vanderpoel.org
9613e1f05f bug 220373: ported to Linux
more Windows (without Cygwin) porting
now using autoconf
changed name from Web Sniffer to SniffURI
added reference to new sniffuri.org site
added HISTORY, INSTALL
updated to new boilerplate for MPL (license)


git-svn-id: svn://10.0.0.236/trunk@167993 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-19 17:16:09 +00:00
erik%vanderpoel.org
22d5636649 Initial check-in of brief history of project.
git-svn-id: svn://10.0.0.236/trunk@167950 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-18 20:32:46 +00:00
timeless%mozdev.org
813717c97f Bug 187441 URLs not HTML encoded in output
git-svn-id: svn://10.0.0.236/trunk@135771 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-02 17:07:34 +00:00
myk%mozilla.org
1db3608745 Fix for bug 57556: escapes user-entered data when displaying it to prevent cross-site scripting attacks.
r=dmose


git-svn-id: svn://10.0.0.236/trunk@129751 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 21:31:58 +00:00
erik%netscape.com
1ec5df9ba4 contribution from Bruce Robson: ported to Windows NT and fixed a couple of
bugs


git-svn-id: svn://10.0.0.236/trunk@61188 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 07:01:52 +00:00
erik%netscape.com
340be5ecb5 Moved cgiview.html to index.html, so that user doesn't have to type that
file name.


git-svn-id: svn://10.0.0.236/trunk@59493 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 05:24:02 +00:00
erik%netscape.com
02313647a4 Moving cgiview.html to index.html so that user doesn't need to type that
file name.


git-svn-id: svn://10.0.0.236/trunk@59490 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 04:57:40 +00:00
erik%netscape.com
7c3ea9fe48 Removing this copy of the README file, since we now have a working
READ-ME.txt file. See the CVS log for that file for the reason...


git-svn-id: svn://10.0.0.236/trunk@59406 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 20:46:21 +00:00
erik%netscape.com
f933bcde12 Apache does something a bit strange with files called "README", so I've
created this file called "READ-ME.txt", which gets displayed normally
in the list of files.


git-svn-id: svn://10.0.0.236/trunk@59404 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 20:40:05 +00:00
erik%netscape.com
5a48d6d184 Apparently, mozilla.org's Apache Web server doesn't support the
SERVER_URL envariable. Oh, well. Trying a different way...


git-svn-id: svn://10.0.0.236/trunk@59402 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 19:06:01 +00:00
erik%netscape.com
f9eb58e3fe Original check-in of the "Web Sniffer", a set of tools to work with the
protocols underlying the Web.


git-svn-id: svn://10.0.0.236/trunk@59401 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 18:24:20 +00:00