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!
>       Maybe you can distribute a fix once you have it, even before the
> next comswiki release? (the swiki I am referring to is  going to be used a
> lot for communication in an international project, but it appears a little
> bit handicapped now: with a lot of uploaded documents that can't be reached
> by Netscape users, and most IE users that are unable to upload (any)
> document ;-)  - if only I could suggest as a remedy using Netscape, the
> situation would be much better).
> 
>       cheers, keep up the good work
> 
>       Hans
> 
> > Okay. It is a bug. It will be fixed in the next revision of ComSwiki.
> > 
> > Peace and Luck!
> > 
> > Je77
> > 
> > On Wed, Sep 20, 2000 at 09:35:58AM -0400, Jochen F. Rick wrote:
> > > >
> > http://......./greenscom/uploads/reportsofmeetings/minutes%20otaniemi.doc
> > > >         and I can find no way to make Netscape look for the document name
> > > > WITH the %20.
> > > >         Could this be a result of  the way file name strings are processed
> > > > in comswiki?
> > > 
> > > Yup. It could very well be. I'll look into it.
> > > 
> > > Peace and Luck!
> > > 
> > > Je77

Reply via email to