Thanks a lot! I am glad I didn't need to figure this out myself...
Hans
> Change this method:
>
> SwikiFileServer privReferencePath: path with: optionsDict
> | cacheDict entryDict |
> (cache includesKey: path) ifFalse: [(dir fileExists: path)
> ifTrue: [self addToCache: path]
> ifFalse: [^self privReferenceMissingPath: path with:
> optionsDict]].
> cacheDict _ cache at: path ifAbsent: [nil].
> cacheDict
> ifNil: [entryDict _ optionsDict]
> ifNotNil: [entryDict _ Dictionary new.
> entryDict addAll: optionsDict.
> entryDict addAll: cacheDict].
> ^(self class isAnImage: path)
> ifTrue: [imageBlock copy fixTemps value: (serverPath,
> path) encodePathForHTTP value: entryDict]
> ifFalse: [fileBlock copy fixTemps value: (serverPath,
> path) encodePathForHTTP value: entryDict]
>
> Peace and Luck!
>
> Je77
>
>
> On Thu, Sep 21, 2000 at 09:32:27AM +0200, Baveco, Hans wrote:
> > Great!
> > What is your schedule for the next ComSwiki? I had a look at the
> > code, to see whether it would be easy to fix this bug myself, but I
> could
> > not easily find out where best to change urls to uploaded files, and
> how. If
> > you provide me with some pointers where to look, I may try it again,
> though!
>