1 Index: squid/src/cf.data.pre
2 diff -c squid/src/cf.data.pre:1.245.2.55 squid/src/cf.data.pre:1.245.2.56
3 *** squid/src/cf.data.pre:1.245.2.55 Sat Dec 6 10:19:36 2003
4 --- squid/src/cf.data.pre Sun Dec 14 06:33:44 2003
11 + NAME: short_icon_urls
13 + LOC: Config.icons.use_short_names
16 + If this is enabled then Squid will use short URLs for icons.
18 + If off then the URLs for icons will always be absolute URLs
19 + including the proxy name and port.
24 LOC: Config.errorDirectory
25 Index: squid/src/client_side.c
26 diff -c squid/src/client_side.c:1.561.2.47 squid/src/client_side.c:1.561.2.48
27 *** squid/src/client_side.c:1.561.2.47 Sun Dec 14 05:30:35 2003
28 --- squid/src/client_side.c Sun Dec 14 06:33:46 2003
32 http->flags.internal = 1;
35 + if (http->flags.internal)
36 + request->protocol = PROTO_HTTP;
39 * cache the Content-length value in request_t.
40 Index: squid/src/mime.c
41 diff -c squid/src/mime.c:1.102.2.2 squid/src/mime.c:1.102.2.3
42 *** squid/src/mime.c:1.102.2.2 Sat Nov 9 21:43:31 2002
43 --- squid/src/mime.c Sun Dec 14 06:33:47 2003
47 mimeGetIconURL(const char *fn)
49 char *icon = mimeGetIcon(fn);
52 ! return internalLocalUri("/squid-internal-static/icons/", icon);
58 mimeGetIconURL(const char *fn)
60 + static MemBuf mb = MemBufNULL;
61 char *icon = mimeGetIcon(fn);
64 ! if (Config.icons.use_short_names) {
66 ! memBufPrintf(&mb, "/squid-internal-static/icons/%s", icon);
69 ! return internalLocalUri("/squid-internal-static/icons/", icon);
74 Index: squid/src/structs.h
75 diff -c squid/src/structs.h:1.408.2.17 squid/src/structs.h:1.408.2.18
76 *** squid/src/structs.h:1.408.2.17 Sat Dec 6 10:19:38 2003
77 --- squid/src/structs.h Sun Dec 14 06:33:47 2003
84 + int use_short_names;