-
Notifications
You must be signed in to change notification settings - Fork 4
/
ChangeLog-2.7-2.7i
1546 lines (968 loc) · 52.8 KB
/
ChangeLog-2.7-2.7i
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2003-02-13 Andrew M. Bishop <[email protected]>
Version 2.7i of WWWOFFLE not released.
2003-02-02 Andrew M. Bishop <[email protected]>
* src/wwwoffles.c:
Don't write the Content-Length to the cache if the server used compression.
2003-01-26 Andrew M. Bishop <[email protected]>
* src/ftp.c:
If a username/password is supplied then use it for directory redirection and links.
* src/errors.c:
Don't append a newline to the string written to syslog, only stderr.
* src/wwwoffles.c: Remove a trailing newline from a debug message.
2003-01-19 Andrew M. Bishop <[email protected]>
* src/monitor.c:
Make parsing of day/hour ranges more robust and show correct times for URLs monitored every hour.
2003-01-18 Andrew M. Bishop <[email protected]>
* src/info.c:
Allow viewing Javascript source in info pages (patch from Marc Boucher).
2003-01-12 Andrew M. Bishop <[email protected]>
Version 2.7h of WWWOFFLE released.
2003-01-12 Andrew M. Bishop <[email protected]>
* src/version.h, doc/NEWS: Updated to version 2.7h.
2003-01-10 Andrew M. Bishop <[email protected]>
* src/local.c:
Handle Accept-Language header more robustly (problem description and solution from Bjoern Voigt).
2003-01-03 Andrew M. Bishop <[email protected]>
* src/html.l:
Set string to NULL after freeing it (suggested by Paul A. Rombouts).
2002-12-30 Andrew M. Bishop <[email protected]>
* src/info.c:
Add headers to the Info Requested page to stop it being cached by the browser (suggested by Marc Boucher).
2002-12-28 Andrew M. Bishop <[email protected]>
* src/info.c: Remove an unused web-page.
Change the way that the user selects to see the request headers.
2002-12-22 Andrew M. Bishop <[email protected]>
* doc/README.CONF:
Indicate that HTML blink tags are removed not stylesheet blink.
2002-12-14 Andrew M. Bishop <[email protected]>
* conf/upgrade-config.pl:
Add in the new create-history-indexes option commented out since upgrading the
no-lasttime-index option will create a duplicate.
2002-12-08 Andrew M. Bishop <[email protected]>
* src/parse.c:
More error messages for POST requests with invalid bodies.
2002-11-30 Andrew M. Bishop <[email protected]>
Version 2.7g of WWWOFFLE released.
2002-11-30 Andrew M. Bishop <[email protected]>
* src/version.h, doc/NEWS: Updated to version 2.7g.
2002-11-29 Andrew M. Bishop <[email protected]>
* doc/README: Updated with info pages in list of features.
2002-11-28 Andrew M. Bishop <[email protected]>
* src/cgi.c, src/search.c:
Re-initialise the file buffers after rewinding the file descriptor before reading/writing again.
* src/wwwoffles.c: Write the unmodified server header to the cache.
Re-initialise the file buffers after rewinding the file descriptor before reading/writing again.
2002-11-27 Andrew M. Bishop <[email protected]>
* src/info.c: Handle files in the cache that are compressed.
* src/wwwoffle-tools.c:
Don't parse the '-c wwwoffle.conf' option as if it was a directory to list.
Make a more robust test that we are currently in the cache directory.
2002-11-25 Andrew M. Bishop <[email protected]>
* src/wwwoffles.c:
Delete zero length spool files if they are requested offline.
2002-11-10 Andrew M. Bishop <[email protected]>
* src/wwwoffles.c, src/info.c: Remove minor memory leaks.
2002-11-03 Andrew M. Bishop <[email protected]>
* src/messages.l: Remove whitespace + '\' + newline from HTML output.
Also update lots of message pages to use this and reduce the line lengths.
* src/purge.c, src/configrdwr.c, src/configdata.c, src/config.h,
doc/README.CONF, conf/wwwoffle.conf.template, conf/upgrade-config.pl:
Allow -1 to be used for max-size and min-free to ignore these options.
Rename the config variables that hold these options.
2002-10-28 Andrew M. Bishop <[email protected]>
* src/htmlmodify.l:
Insert an empty alt tag rather than deleting the existing one if replacing an image.
2002-10-27 Andrew M. Bishop <[email protected]>
* src/wwwoffles.c: Add the hooks for the info pages.
Use the generic redirection message.
* src/wwwoffle.h: Add the function for the info pages.
* src/index.c: Add the hooks for the info page options in the indexes.
* src/Makefile.in: Compile the info.c file.
* src/info.c: New file.
2002-10-26 Andrew M. Bishop <[email protected]>
* src/index.c:
Use a generic redirection message for all WWWOFFLE 302 responses.
Change the URL specific index from /index/url/?xxx to /index/url?xxx.
Remove unused variable.
* src/ftp.c, src/local.c:
Use a generic redirection message for all WWWOFFLE 302 responses.
* src/configedit.c:
Changed the URL for pages that have a URL argument from ...?url=xxx to ...?xxx.
Have a separate URL for URL editing form submission for consistency.
Only accept POST method for all form sumbmissions, GET with arguments for URL specification only.
Change the error page codes from 200 to 500.
Fix some seekpos problems, add some comments.
2002-10-20 Andrew M. Bishop <[email protected]>
* src/monitor.c, src/purge.c, src/wwwoffled.c, src/spool.c, src/index.c:
Fix trivial spelling mistake in comment.
* src/cgi.c: Bug fix for CGI header handling.
2002-10-19 Andrew M. Bishop <[email protected]>
* src/ftp.c: Fix for re-fetching of unmodified FTP files.
2002-10-13 Andrew M. Bishop <[email protected]>
* src/cgi.c:
Use the HTTP status header line that comes from the CGI if there is one.
Tidy up the function that sets the environment variables for neatness/consistency.
* src/headbody.c: Minor change to HTTP header status value parsing.
* src/local.c: Bug fix for searching for /local/ directory.
* conf/upgrade-config.pl:
Add the create-history-indexes option to config files if not present.
* src/spool.c, conf/upgrade-config.pl, conf/wwwoffle.conf.template,
doc/CHANGES.CONF, doc/README.CONF, src/config.h, src/configdata.c:
Renamed the no-lasttime-index option to create-history-indexes.
Reverse the meaning and the default value.
Apply it to the lastout/prevout indexes as well as lasttime/prevtime.
* conf/wwwoffle.conf.template, doc/CHANGES.CONF, doc/README.CONF, src/config.h,
src/configdata.c, src/configedit.c, src/wwwoffles.c, conf/upgrade-config.pl:
Added a cache-control-no-cache option which works like pragma-no-cache.
2002-10-12 Andrew M. Bishop <[email protected]>
* src/control.c:
Print an error message if the command cannot be written to the server control port.
* src/wwwoffles.c, src/ssl.c:
Modify the SSL headers only if using an SSL proxy.
2002-10-05 Andrew M. Bishop <[email protected]>
* src/htmlmodify.l: Bug fix for previous change.
2002-10-04 Andrew M. Bishop <[email protected]>
* src/miscurl.c:
Fix LinkURL so that an empty string points to current URL not directory.
* src/htmlmodify.l:
Add shortcut to testing if page is cached for <a href='#foo'>.
2002-09-28 Andrew M. Bishop <[email protected]>
Version 2.7f of WWWOFFLE released.
2002-09-28 Andrew M. Bishop <[email protected]>
* src/version.h, NEWS: Update to version 2.7f.
* src/configrdwr.c:
When allowing '=' signs in URL-SPECIFICATIONS ignore trailing spaces.
* doc/FAQ: Added a question about startup error/warning messages.
* src/wwwoffles.c:
Don't attempt to modify HTML if the page is compressed.
2002-09-27 Andrew M. Bishop <[email protected]>
* src/headbody.c: Fix the Set-Cookie problem again.
2002-09-19 Andrew M. Bishop <[email protected]>
* doc/scripts/FAQ-html.pl: New file.
* doc/scripts/README.CONF-html.pl, doc/scripts/README.CONF-msg.pl:
Convert characters with umlauts into proper HTML entities.
2002-09-12 Andrew M. Bishop <[email protected]>
* src/headbody.c: A fix for the stupid bug in the previous version.
* src/io.c:
Fix for partial pages when server uses compression (suggested by Paul Rombouts).
* src/wwwoffled.c: Close the client socket if SocketRemoteName() fails.
2002-08-31 Andrew M. Bishop <[email protected]>
Version 2.7e of WWWOFFLE released.
2002-08-31 Andrew M. Bishop <[email protected]>
* src/version.h, doc/NEWS: Updated to version 2.7e.
* configure.in: Potential fix for Solaris IPv6 configuration problem.
* src/wwwoffles.c: Potential fix for corrupted pages in some instances.
* doc/README.lang: Updated German translations added.
2002-08-25 Andrew M. Bishop <[email protected]>
* src/refresh.c: Bug fix for only fetching images from the same server.
2002-08-22 Andrew M. Bishop <[email protected]>
* src/monitor.c:
Allow ranges to be specified for hours and days of month.
* src/configrdwr.c:
Allow URL-SPECs to contain an '=' sign embedded in them.
2002-08-21 Andrew M. Bishop <[email protected]>
* src/configrdwr.c, src/configfunc.c, src/configmisc.c, src/configpriv.h,
doc/README.CONF, doc/README:
Allow case insensitive wildcard matching in URL-SPECIFICATIONS (based on patch from Marc Boucher).
2002-08-11 Andrew M. Bishop <[email protected]>
* src/wwwoffled.c:
Don't assume that IPv6 sockets will listen for IPv4 connections, try binding both (inspired by *BSD mailing list).
* src/ftp.c: Free some more memory (found by valgrind).
2002-08-10 Andrew M. Bishop <[email protected]>
* src/ftp.c:
Be careful with the argument to read_data_or_timeout() (inspired by Paul A. Rombouts).
* src/configrdwr.c:
Free some memory, close some files, improve some error messages (prompted by Paul A. Rombouts).
* src/wwwoffled.c:
Print a warning message if running as root (user or group).
* src/headbody.c: Another fix for the cookie problem.
2002-08-04 Andrew M. Bishop <[email protected]>
* src/connect.c:
Results of running a lint program 'splint' over the code:
Removed segmentation fault potential when password not used in config file.
* src/errors.c:
Results of running a lint program 'splint' over the code:
Made the code more lint friendly.
* src/configedit.c:
Results of running a lint program 'splint' over the code:
Added some annotations, freed some memory, removed a debugging statement.
* src/ftp.c: Results of running a lint program 'splint' over the code:
Check some pointers before use.
* src/control.c, src/controledit.c, src/parse.c, src/purge.c:
Results of running a lint program 'splint' over the code:
Freed some more memory.
* src/wwwoffled.c, src/cgi.c, src/proto.h, src/wwwoffle.h:
Results of running a lint program 'splint' over the code:
Added some more annotations.
* src/headbody.c, src/misc.h, src/parse.c:
Don't send the extra arguments to POST requests that WWWOFFLE uses internally.
2002-08-03 Andrew M. Bishop <[email protected]>
* src/configedit.c, src/configmisc.c:
Free some memory when finished with it (found by valgrind).
* src/configrdwr.c:
Close the configuration file when finished with it (found by valgrind).
* src/io.c:
Allocate enough memory for formatted write of plain string (found by valgrind).
* src/configmisc.c:
Be more complete when freeing the backup config file structure (found by valgrind).
* src/wwwoffled.c, src/connect.c:
Fix to allow 'wwwoffle -kill' to work when running under valgrind.
* src/configedit.c: Bug fix for missing entries in README.CONF.txt.
2002-07-28 Andrew M. Bishop <[email protected]>
Version 2.7d of WWWOFFLE released.
2002-07-28 Andrew M. Bishop <[email protected]>
* doc/NEWS, src/version.h: Updated for version 2.7d.
* src/config.h, src/configdata.c, src/errors.c, src/errors.h, src/wwwoffled.c,
src/wwwoffles.c:
Renamed some variables for logging and debugging levels.
* src/sockets6.c: Allow compilation of IPv6 code on Solaris 9.
2002-07-27 Andrew M. Bishop <[email protected]>
* src/ftp.c:
Fix bug with previous memory leak bug and fixed some more memory leaks.
* doc/Makefile.in:
Delete the *.txt files before creating new ones (or repeated extensions).
* src/miscurl.c: Don't replace '//' in a URL path with '/'.
* src/control.c, src/parse.c, src/spool.c, src/monitor.c, src/miscurl.c:
Remove memory leak (found using valgrind).
2002-07-21 Andrew M. Bishop <[email protected]>
* src/wwwoffles.c: Fix bug where if server is using compression
then Content-Length header is not removed unless client is using
compression.
2002-07-19 Andrew M. Bishop <[email protected]>
* src/headbody.c:
Try and recognise the 'expires=' value in 'Set-Cookie' headers and re-join them.
* src/wwwoffle-tools.c, src/wwwoffled.c:
Replace uid_t with int for systems where uid_t is unsigned.
Move #if conditional that stopped compilation on cygwin.
* src/wwwoffle-tools.c, src/wwwoffled.c:
Don't try and change uid to root if only gid is specified in config file.
* src/wwwoffled.c:
Don't close the HTTP server socket twice when using the '-f' option.
* src/wwwoffles.c: Free some memory (found using valgrind).
* src/headbody.c:
Fix buffer overrun in header handling (found using valgrind).
* src/configrdwr.c:
Fix big memory leak in reading config file (found using valgrind).
Make the first entry in a UrlSpec structure be a NULL byte.
* src/configpriv.h:
Make the first entry in a UrlSpec structure be a NULL byte.
* src/configmisc.c: Stop valgrind complaining about the code.
* src/miscurl.c:
Make the CanonicaliseHost() function robust to bad IP addresses.
2002-07-14 Andrew M. Bishop <[email protected]>
* src/parse.c:
Discard POST/PUT requests that have negative content-lengths.
2002-07-07 Andrew M. Bishop <[email protected]>
Version 2.7c of WWWOFFLE released.
2002-07-07 Andrew M. Bishop <[email protected]>
* doc/NEWS, src/version.h: Updated to version 2.7c.
* src/wwwoffles.c:
Don't request deflated data since WWWOFFLE and servers don't agree on format.
* doc/FAQ: Mention Privoxy as an alternative to JunkBuster.
2002-06-30 Andrew M. Bishop <[email protected]>
* src/headbody.c:
Split up the Set-Cookie header from server to browser since browsers cannot handle it.
* src/configmisc.c:
Update the WildcardMatch() function to not modify the wildcard string.
2002-06-23 Andrew M. Bishop <[email protected]>
* src/io.c: Results of running a lint program 'splint' over the code:
Changed error in annotation.
* src/configmisc.c:
Results of running a lint program 'splint' over the code:
Better variable initialisation.
* src/local.c:
Results of running a lint program 'splint' over the code:
Check return value correctly before use.
* src/purge.c:
Results of running a lint program 'splint' over the code:
More changes of signed to unsigned.
* src/search.c: Renamed some function parameters for consistency.
* src/http.c, src/ssl.c, src/errors.c, src/finger.c, src/gifmodify.c, src/html.l, src/htmlmodify.l:
Results of running a lint program 'splint' over the code:
Added more annotations to function prototypes / variables.
* src/controledit.c, src/ftp.c, src/index.c, src/monitor.c, src/refresh.c, src/wwwoffle-tools.c, src/control.c:
Results of running a lint program 'splint' over the code:
Added more annotations to function prototypes / variables.
Freed some memory that was leaking.
* src/document.c, src/parse.c, src/wwwoffles.c, src/cgi.c:
Results of running a lint program 'splint' over the code:
Removed an unused parameter from a function.
* src/config.h, src/configpriv.h, src/document.h, src/misc.h, src/proto.h, src/wwwoffle.h:
Results of running a lint program 'splint' over the code:
Added more annotations to function prototypes.
2002-06-16 Andrew M. Bishop <[email protected]>
* src/wwwoffled.c:
Remove memory leak associated with CanonicaliseHost() function.
* configure.in, src/autoconfig.h.in.in, src/wwwoffle-tools.c, src/wwwoffled.c:
Updated the setuid/setgid code.
* src/html.l, src/htmlmodify.l:
Handle XHTML style tags '< ... />' when modifying HTML.
2002-06-15 Andrew M. Bishop <[email protected]>
* src/cgi.c: Added a ';' to get it to compile on SGI IRIX.
2002-06-09 Andrew M. Bishop <[email protected]>
* src/miscurl.c: Fix for SplitURL() function non-termination of string.
2002-06-04 Andrew M. Bishop <[email protected]>
* src/wwwoffles.c:
A forced reload from the browser with ConfirmRequests will ask for confirmation before making requests.
* src/configrdwr.c:
Bug fix for previous fix for memory leakage problems.
* src/configmisc.c: Make the function FreeKeyOrValue() not be static.
2002-05-26 Andrew M. Bishop <[email protected]>
* src/wwwoffled.c:
Use the proper configuration file name in error messages.
* src/configedit.c, src/configrdwr.c:
Fix some memory leakage / buffer size problems.
* src/wwwoffle.c:
Disallow requests for protocols that WWWOFFLE does not handle.
* src/wwwoffle-tools.c:
Handle a bare hostname as if it has 'http://' prepended.
2002-05-19 Andrew M. Bishop <[email protected]>
* src/wwwoffles.c:
Fix a problem with writing 'Content-Encoding' headers to the cache instead of just the browser.
* src/wwwoffles.c:
Remove the trailing '/' from 'htdig/' etc. when denying spiders from requesting pages.
2002-05-18 Andrew M. Bishop <[email protected]>
* doc/README.htdig:
Describe how to edit the htdig template files to change the compiled-in paths.
* src/configrdwr.c: Grammatical correction.
2002-05-12 Andrew M. Bishop <[email protected]>
* src/configedit.c: Make the "edit selected entry" option work.
2002-05-11 Andrew M. Bishop <[email protected]>
* src/headbody.c:
Don't crash for broken HTTP servers that send headers preceded by whitespace.
2002-05-05 Andrew M. Bishop <[email protected]>
* src/Makefile.in: Install both cygwin1.dll and cygz.dll for Win32.
2002-04-21 Andrew M. Bishop <[email protected]>
Version 2.7b of WWWOFFLE released.
2002-04-21 Andrew M. Bishop <[email protected]>
* doc/NEWS, src/version.h: Updated to version 2.7b.
* doc/Makefile.in, src/Makefile.in: Bug fix for 'make install'.
* doc/README.CONF:
Update the bind-ipv[46] documentation to refer to the LocalHost section.
* src/config.h, src/configfunc.c, src/configmisc.c, src/configpriv.h, src/configrdwr.c:
Results of running a lint program 'splint' over the code:
Added annotations to all functions.
Changed a few small pieces of code.
2002-04-20 Andrew M. Bishop <[email protected]>
* doc/README.CONF: Updated the information about the Alias section.
* src/configfunc.c:
Fix for Alias section not matching all sub-paths of that specified.
* src/Makefile.in: Fix for installation on Win32.
* doc/README.win32: Update the command line for cygrunsrv.
2002-04-14 Andrew M. Bishop <[email protected]>
* src/config.h, src/configdata.c, src/configfunc.c,
conf/upgrade-config.pl, conf/wwwoffle.conf.template,
doc/CHANGES.CONF, doc/README.CONF:
Change the name of the option to allow CGIs from allow-cgi to exec-cgi like in Apache.
* src/io.c: Bug fix for lint change.
* src/cgi.c:
Added a big comment to the code about the CGI specification compliance.
* src/Makefile.in:
Change the rule for compiling .c to .o for versions of make that don't understand '%.o:%.c'.
2002-04-13 Andrew M. Bishop <[email protected]>
* src/headbody.c, src/io.c, src/misc.h, src/miscencdec.c, src/miscurl.c:
Results of running a lint program 'splint' over the code:
Added annotations to all functions.
Changed a few variable types.
Freed some memory, checked some pointers before use.
2002-04-07 Andrew M. Bishop <[email protected]>
* src/Makefile.in: Split messages.l into messages.l, local.c and cgi.c.
* doc/FAQ, doc/README, doc/README.CONF, doc/CHANGES.CONF:
Add in the information about the CGI option.
* conf/wwwoffle.conf.template, conf/upgrade-config.pl:
Update the configuration file with the CGI option.
* src/wwwoffled.c:
Store the client IP address and hostname for use by the CGI.
* src/configedit.c:
Change to accomodate change to language selection page functions.
* src/wwwoffle.h, src/wwwoffles.c, src/search.c:
Change to accomodate change to local page functions.
* src/headbody.c, src/misc.h:
Add a function to change the status note in a reply header.
* src/config.h, src/configdata.c, src/configfunc.c:
Add the configuration file option for allowing CGIs.
* src/messages.l:
Split out the local page handling and language selection to local.c.
* src/cgi.c, src/local.c: New file.
2002-04-06 Andrew M. Bishop <[email protected]>
* audit-usage.pl:
Handle IPv6 format IP addresses when parsing log files.
2002-03-31 Andrew M. Bishop <[email protected]>
* doc/INSTALL, cache/Makefile.in, conf/Makefile.in, doc/Makefile.in, src/Makefile.in:
Include a DESTDIR in the Makefiles to allow installing in a different place to the compile options.
2002-03-29 Andrew M. Bishop <[email protected]>
* doc/CHANGES.CONF:
Add the request-redirection option to the list of changes.
* src/wwwoffle-tools.c: Fix potential crash with wwwoffle-hash.
2002-03-24 Andrew M. Bishop <[email protected]>
* src/wwwoffle-tools.c:
Use the same code as in wwwoffled.c for setresuid() or setuid() as appropriate.
* src/miscurl.c, src/gifmodify.c, src/index.c, src/miscencdec.c, src/purge.c:
Results of running a lint program 'splint' over the code:
Changed some data types, signed to unsigned, int to long.
* src/messages.l, src/errors.c:
Results of running a lint program 'splint' over the code:
Added some annotations to local function prototypes.
* src/document.c:
Results of running a lint program 'splint' over the code:
Add missing element to array declaration (for completeness only, not bug).
* src/controledit.c:
Results of running a lint program 'splint' over the code:
Removed potentially unsafe fprintf() using user supplied format string.
* src/configrdwr.c:
Results of running a lint program 'splint' over the code:
Added some annotations to local function prototypes.
Improved the code for parsing URL-SPECIFICATIONS, simpler now.
* src/configmisc.c:
Fixed the bug where selecting 'edit selected item' didn't display current values.
* src/configedit.c:
Results of running a lint program 'splint' over the code:
Added some annotations to local function prototypes.
Removed an unused argument from ConfigurationPage() function.
Checked before freeing some memory or processing arguments.
Several re-arrangements of variable scopes to reduce confusion.
Fixed the bug where selecting 'edit selected item' didn't display current values.
* src/control.c:
Results of running a lint program 'splint' over the code:
Added some annotations to local function prototypes.
Removed an unused argument from ControlPage() function.
Checked before freeing some memory.
* src/wwwoffles.c:
Results of running a lint program 'splint' over the code:
Removed an unused argument from ControlPage() and ConfigurationPage() functions.
* src/wwwoffle.h:
Results of running a lint program 'splint' over the code:
Added some annotations to function prototypes.
Removed an unused argument from ControlPage() and ConfigurationPage() functions.
* src/config.h, src/configpriv.h, src/errors.h, src/misc.h, src/sockets.h:
Results of running a lint program 'splint' over the code:
Added some annotations to function prototypes, tweaked some structure types.
2002-03-23 Andrew M. Bishop <[email protected]>
* src/headbody.c, src/http.c, src/misc.h, src/parse.c, src/ssl.c, src/wwwoffle.h, src/wwwoffles.c:
Fix so that refreshed URLs are put in the outgoing directory with the proper URL and not /refresh/?<URL>.
* doc/Makefile.in, conf/Makefile.in:
Delete the files that are generated by the perl scripts before generating them.
* conf/wwwoffle.conf.template:
Update some missing version 2.6/2.7 things.
* conf/upgrade-config.pl:
Fix a problem that mis-transformed the User-Agent example when updating.
2002-03-17 Andrew M. Bishop <[email protected]>
* src/headbody.c:
Fix crash when using 'wwwoffle -O|-o|-put|-post <URL>'.
* src/wwwoffled.c:
Use configure to determine the best setuid() and setgid() function to use.
* src/wwwoffle.c: Ensure that only one argument is given to -o or -O.
* doc/README.htdig, doc/README.mnogosearch, doc/README.namazu:
Some more version 2.7 updates.
* src/errors.c:
Re-fixed the spelling of Authoritative, it is the correct English word.
* doc/README.CONF, doc/FAQ: Some more version 2.7 updates.
2002-03-16 Andrew M. Bishop <[email protected]>
* cache/Makefile.in:
Give a message that the html.old and search.old directories can be deleted.
2002-03-10 Andrew M. Bishop <[email protected]>
Version 2.7a of WWWOFFLE released.
2002-03-10 Andrew M. Bishop <[email protected]>
* doc/NEWS, src/version.h: Update to version 2.7a.
* src/headbody.c, src/misc.h:
Improvements to Header manipulation functions.
* src/parse.c: Bug fix for failure to censor some headers.
* src/autoconfig.h.in.in, configure.in:
Add configure checks for the [gs]etres[ug]id() and setgroups() functions.
* src/purge.c:
Make statvfs the default if both statfs and statvfs are available (fix Solaris non-compilation problem).
* src/miscurl.c:
Handle relative URLs that start with '//' as specified in RFC1808.
* src/htmlmodify.l:
Remove the 'alt' attribute from images that are disabled.
2002-03-09 Andrew M. Bishop <[email protected]>
* conf/upgrade-config.pl:
Warn about URL-SPECIFICATIONS that catch people out, http://www.foo/ is not http://www.foo/*.
Don't print a "changed" line if there is no change.
* src/purge.c:
Fix bug that changed the timestamp of compressed files to the compression time.
* src/configedit.c:
Add the DontCache section to the list of items in the Configuration URL page.
* src/configrdwr.c:
Make the comment that is autotmatically inserted be easily findable.
* src/configedit.c, src/configmisc.c, src/configpriv.h, src/configrdwr.c:
Fix core dump with inserting the first item into unnamed items with key type of None.
* conf/wwwoffle.conf.template:
Correct the URL-SPECIFICATION examples from '*://foo/' to '*://foo'.
2002-03-03 Andrew M. Bishop <[email protected]>
* src/wwwoffles.c:
Remove the content-length header only if the server of client connection is compressed.
* src/configmisc.c: Add void argument to two functions.
* src/config.h, src/configdata.c, src/wwwoffled.c:
Remove the unused argument from FinishConfigurationFile().
* src/configrdwr.c, src/configmisc.c, doc/README.CONF, doc/README:
Allow wildcards to have more than two '*' in them.
* src/search.c:
Give an internal server error if the search script fails.
* doc/FAQ: Fix typo: s/pnsd/pdnsd/.
2002-03-02 Andrew M. Bishop <[email protected]>
* src/ftp.c: Handle NULL strings due to timeouts from server.
* src/parse.c:
Make ParseRequest() return NULL when connection times out or is broken.
* src/configrdwr.c:
Speed up wildcard matching by removing '/*' when it is the path.
* cache/Makefile.in: Force deleting of the link called 'default'.
* src/wwwoffles.c:
Fix the requesting of compressed data (header added too late).
* src/control.c, src/wwwoffle.h, src/Makefile.in, src/controledit.c:
Re-instated the original configuration editing pages.
2002-02-24 Andrew M. Bishop <[email protected]>
* src/wwwoffled.c:
Make the socket binding error messages even less confusing.
2002-02-23 Andrew M. Bishop <[email protected]>
* src/wwwoffles.c:
Bug fix for the conditional request problem (304 reply even for non-conditional requests).
2002-02-17 Andrew M. Bishop <[email protected]>
* src/Makefile.in: Update the file dependencies.
* src/connect.c:
Print the current version when 'wwwoffle -status' is run.
* src/parse.c:
When in debug mode print the error status of the current page when re-requesting it.
2002-02-16 Andrew M. Bishop <[email protected]>
* configure.in:
Fix IPv6 checking (configure fails if IPv6 not available).
2002-02-10 Andrew M. Bishop <[email protected]>
* src/wwwoffle.c:
Give an error message if 'wwwoffle -put|-post' has no URLs specified.
2002-02-09 Andrew M. Bishop <[email protected]>
Version 2.7 of WWWOFFLE released.
2002-02-09 Andrew M. Bishop <[email protected]>
* src/version.h, doc/NEWS: Update to version 2.7.
* src/configrdwr.c:
Remove the multiple backup files created when editing the config file.
* doc/README.CONF: Fix some of the example URL-SPECIFICATIONS.
2002-02-04 Andrew M. Bishop <[email protected]>
* src/wwwoffles.c:
Fix the ConfirmRequests option (was not showing WillGet page).
2002-02-03 Andrew M. Bishop <[email protected]>
* src/ftp.c:
Handle servers that respond to EPSV commands with errors like 50x not just 500.
* src/headbody.c: Some optimisation of the HeaderString() function.
2002-02-02 Andrew M. Bishop <[email protected]>
* doc/README.lang:
Mention updated French, Polish and Dutch translations.
2002-01-20 Andrew M. Bishop <[email protected]>
* src/configrdwr.c:
Give an error message if the configuration file is not writable.
* src/purge.c: Tidy up the delete and compress messages again.
* src/configmisc.c:
Add algorithmic comments and some small optimisations to the wildcard matching.
* src/wwwoffles.c:
Obey the 'Cache-Control: no-transform' header (no HTML modifications).
* src/configfunc.c, src/parse.c, doc/README.CONF:
Make the referer-self and referer-self-dir options add headers if there are none.
2002-01-14 Andrew M. Bishop <[email protected]>
* src/messages.l: Stop permanent lockup in case of parsing error.
* src/sockets4.c, src/sockets6.c:
Improve the error messages for socket connect/bind failures.
* src/html.l:
Update the parser to include the latest htmlmodify parser features & fixes.
* doc/README.win32: Add request for help updating file contents.
* doc/README.namazu: Fix script path error.
* doc/FAQ: Fix installation path error.
* doc/INSTALL, doc/README, doc/wwwoffled.man:
The default configuration file is in /etc and not /var/spool/wwwoffle.
2002-01-13 Andrew M. Bishop <[email protected]>
* src/sockets4.c: Fix bug with gethostbyaddr() parameters.
Handle operating systems where gethostbyaddr("0.0.0.0") fails.
2002-01-06 Andrew M. Bishop <[email protected]>
* src/parse.c:
Take account of the 'q' quality factor when choosing the compression method.
BUT we need to work around the Mozilla bug where it can't handle deflate!
So we choose gzip when gzip and deflate are equally good for the client.
* src/wwwoffle.c, doc/wwwoffle.man:
Make 'wwwoffle URL' put a request in outgoing even if the URL is already cached.
2002-01-05 Andrew M. Bishop <[email protected]>
* src/configedit.c, src/configrdwr.c:
Fix the configuration editing when there are no entries for an item.
2002-01-02 Andrew M. Bishop <[email protected]>
* doc/Makefile.in:
Delete the wwwoffle.conf.man.install file when doing 'make clean'.
* src/configedit.c, conf/wwwoffle.conf.template, doc/README,
doc/README.CONF, src/config.h, src/configdata.c, src/parse.c:
Add an option to re-request pages that contain redirections (from Paul A. Rombouts).
* src/configedit.c:
Display the current value of the item in the configuration url page.
2001-12-30 Andrew M. Bishop <[email protected]>
* doc/README.CONF: Some "bug fixes" to the descriptions.
* src/uncompress-cache.c:
Stop uncompress-cache from crashing on zero length files.
* doc/README:
Updated the information about the configuration editing pages.
Add the default location of the configuration file.
* src/wwwoffle.h:
Ensure that sys/time.h is included all places that time.h is used.
* Makefile.in: Add a target called 'all' that is the same as 'compile'.
* src/ssl.c, src/uncompress-cache.c, src/wwwoffled.c, src/wwwoffles.c,
src/parse.c, src/purge.c, src/search.c, src/sockets4.c, src/sockets6.c,
src/spool.c, src/html.l, src/htmlmodify.l, src/index.c, src/io.c,
src/messages.l, src/connect.c, src/convert-cache.c, src/errors.c:
Ensure that sys/time.h is included all places that time.h is used.
2001-12-29 Andrew M. Bishop <[email protected]>
* src/htmlmodify.l:
Fix another bug with script removal when modifying HTML.
2001-12-28 Andrew M. Bishop <[email protected]>
* doc/README.lang: Update the German translation information.
Raise the importance of translating README.CONF.
2001-12-27 Andrew M. Bishop <[email protected]>
Version 2.7-beta of WWWOFFLE released.
2001-12-27 Andrew M. Bishop <[email protected]>
* src/version.h, doc/NEWS: Update to version 2.7-beta.
* doc/FAQ:
Added a question and answer about the IPv6 connection problem on localhost.
* src/configrdwr.c, src/wwwoffled.c, src/configfunc.c:
More IPv6 fixups.
2001-12-09 Andrew M. Bishop <[email protected]>
* src/miscurl.c, src/wwwoffled.c, src/configfunc.c, src/configrdwr.c:
Some IPv6 improvements.
2001-12-08 Andrew M. Bishop <[email protected]>
* src/configedit.c:
Add the IndexOptions options and make DontGet work with a URL argument.
* src/wwwoffles.c: Free some unfreed memory.