Closed
Bug 34863
Opened 25 years ago
Closed 25 years ago
Local Harddisks not found if I tried with C: without \
Categories
(Core :: Networking, enhancement, P3)
Tracking
()
VERIFIED
FIXED
M18
People
(Reporter: famtie, Assigned: gagan)
References
Details
Attachments
(2 files)
|
861 bytes,
patch
|
Details | Diff | Splinter Review | |
|
876 bytes,
patch
|
Details | Diff | Splinter Review |
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
BuildID: 2000033112
If I typed C: without \ then I will get that c: is not registered. But I typed
C:\ it will work fine. In IE c: without \ works fine. Also Gecko must be worked
with C: without \
Reproducible: Always
Steps to Reproduce:
1.Type C: in URL
2.It will get error: c: is not registered protocool.
3.
Actual Results: c: is not registered protocool
Comment 1•25 years ago
|
||
Confirmed with 2000-04-06-10-M15 on WinNT. "C:\" is turned into "file:///c|/";
"c:" gets the alert already mentioned.
Not sure about this one: single letters followed by ":" could be special-cased,
but that would involve a gamble that their would never be a URI scheme
registered that would collide. Given the widespread misuse by IE, this probably
would not be much of a gamble. IE5 turns "c:" into "C:\" and displays the
expected listing.
Changing severity to "Enhancement" as the current behaviour is per spec.
Assignee: rchen → gagan
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Component: Localization → Networking
Ever confirmed: true
QA Contact: teruko → tever
Summary: Local Harddisks not founded if I tried with C: without \ → Local Harddisks not found if I tried with C: without \
Updated•25 years ago
|
Target Milestone: --- → M18
Comment 2•25 years ago
|
||
That would be another special case for convertFileToURL in nsWebShell.cpp.
mmm. Yes. It will added:
function ConvertFileToURL() into nsWebShell.cpp
Function ConvertLocalToURL() into nsWebShell.cpp
ConvertFileToURL():
Convert: X:--> file:///X|/. It will works fine.
But it's not beautiful as real local IE5. It would:
' Computer(c:)' in URL. It would be cool. Also: It will added ConvertLocalToURL
function ConvertLocalToURL()
file:///c|/ will hidden in URL. 'Computer(c:)' will shows in URL.
Also: label + ('(')+ drive + (')')
Comment 4•25 years ago
|
||
It works fine now. I see it shows local harddisk now.
I am agree with andreas.otte@primus-online.de
Comment 6•25 years ago
|
||
Note: the patch is not in the tree yet.
Comment 8•25 years ago
|
||
Comment 9•25 years ago
|
||
fix checked in
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 10•25 years ago
|
||
It fix does work. But it show no files in C:
C:-> file:///c: But it show no files C:
file:///c:/ it show files C:
Also C:-> file:///c:/
build 2000041915
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 11•25 years ago
|
||
I already have that in my tree, got it reviewed, will check it in over the
weekend.
Comment 12•25 years ago
|
||
fix checked in.
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 13•25 years ago
|
||
Have you see listing of file:///c: after c:?
By Windows 2000 is my storage used NTFS5.
Which build are you using?
Comment 14•25 years ago
|
||
Should be fixed with the patch just checked in.
Comment 16•25 years ago
|
||
Adding dependency; depends on bug 42342, "[regression} Text before ':' in URL is
interpreted as protocol", FIX checked in. This bug is about one of the cases
that FIX should fix.
Testing with the 2000-06-20-08-M17 nightly binary, this bug did regress, but
I'll wait for a day before reopening, as it may well be working again by then.
Depends on: 42342
| Reporter | ||
Comment 17•25 years ago
|
||
It changed error-message: " is not registered protocol or invalid drive" if
(x:) is not found
I will this problems wwith 42342 checked. It will stayed :
C: or C:\ will works to local harddiscs
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Comment 18•25 years ago
|
||
Testing with the 20000622...-M17 nightly binary on WinNT, "c:", "c:\", and
"c:/" all result in display of the same directory listing as "file:///c:/".
Marking FIXED, as the fix for bug 42342 *must* be responsible for this working
again.
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Comment 19•25 years ago
|
||
You can bet it is responsible ... ;)
| Reporter | ||
Comment 20•25 years ago
|
||
GREAT WORK!
You need to log in
before you can comment on or make changes to this bug.
Description
•