Closed Bug 165663 Opened 24 years ago Closed 24 years ago

URLClearcase and the way files are named

Categories

(Core :: Networking, defect)

Sun
Solaris
defect
Not set
minor

Tracking

()

VERIFIED INVALID

People

(Reporter: tomas, Assigned: dougt)

Details

User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.1) Gecko/20020827 Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.1) Gecko/20020827 Coming from Netscape 4.79 (where this works for some reason) I'm having problems to open clearcase files within a VOB. These files are named as: <file>@@<BRANCH>, eg. sysStats.erl@@/main/Inc4/R7A/R7D/4 When the prompt to save/open the file pops up, the filename is "4". Should be sysStats.erl. Is there some kind of workaround for this problem? Reproducible: Always Steps to Reproduce:
Are you trying to open the file directly (with file:...), or from a webserver (http:...)? I'm using ClearCase too (with http), but I don't have a problem. Can you give us an example of the url (contents of the url-bar) ?
I tried both, ie. with the following in the url-bar: http://website/vobs/PROJ/rty_FCP10958/RS_security.fm@@/main/4 and file:/vobs/PROJ/rty_FCP10958/RS_security.fm@@/main/4 both results in the same problem - file is named "4". It works in Netscape 4.79 bot for some reason not in Mozilla.
Well, this isn't a valid URL actually, because there are slashes in the filename. It may be that the webserver and/or filesystem knows how to handle the filename (because the ClearCase-filesystem intercepts the filesystem calls), but Mozilla doesn't. Mozilla tries to parse the filename from the URL, and it does this by searching for the right-most slash (it's a bit more complicated with frgaments and such, but that's the basic idea). That's why it thinks it's a file called '4' in a directory called 'main' inside another directory called 'RS_security.fm@@' . The problem is that an URL is NOT a filesystem, so this can be wrong. But it will be correct in the majority of all cases. I'm not able to try it here, but you can try if http://website/vobs/PROJ/rty_FCP10958/RS_security.fm@@%2fmain%2f4 works ? (/ replaced with %2f)
Yes, you are of course right. We break the RFC when naming the URIs that way. Since it has always worked for all of us within my company, we have never noticed it. Until now when we're migrating to Mozilla. The problem we now face is to get people to understand how to write proper URIs. Or can you do some conversion in Apache perhaps? I'm not at work so I can't try your suggestion regarding %2f, but that sounds like something that'll work. I'll try it on monday.
RESOLVED/INVALID: Jo is correct.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Component: Networking: File → Networking
Resolution: --- → INVALID
Summary: Clearcase and the way files are named → URLClearcase and the way files are named
Catching up. Reopen if you disagree. Marking Verified!
Status: RESOLVED → VERIFIED
QA Contact: benc → jimmylee
You need to log in before you can comment on or make changes to this bug.