Closed Bug 312463 Opened 19 years ago Closed 15 years ago

web page contain windows path location in link and script element prevent firefox from save the page properly

Categories

(Firefox :: File Handling, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: gwijayas, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7

When I choose "File->Save Page as ... Save as type web page,complete", only save
directory name, no .html. When I look into html source code, there are two lines
that make me curious:

<link
href="D:\eclipse\workspace\DITA-OT-1.1.1\pmdocs\doc\xhtml\SourceForgeFiles\doc\commonltr.css"
type="text/css" rel="stylesheet" />
<link
href="D:\eclipse\workspace\DITA-OT-1.1.1\pmdocs\doc\xhtml\SourceForgeFiles\doc\dita-ot.css"
type="text/css" rel="stylesheet" />

Web page can save properly when I choose "File->Save Page as ... Web Page, HTML
Only"

I try to make the page in my local Apache, and yes, I couldn't save the page. If
I delete those lines, I could save as "Web Page,Complete". I could put arbitrary
links, as long as 'windows path location' present, such as "D:\test.css". This
is not effect in link element only. I could make it in script element, example:
<script type="text/javascript" src="C:\test.js"></script>

More test page:
http://jaya.duniasemu.org/gudang/14102005/cantsave.html
<link rel="stylesheet" type="text/css" href="d:\test.css">

http://jaya.duniasemu.org/gudang/14102005/cantsave2.html
<link rel="stylesheet" type="text/css" href="d:/test.css">

http://jaya.duniasemu.org/gudang/14102005/cantsave4.html
<script type="text/javascript" src="C:\test.js"></script>

All my test page is Valid HTML 4.01 strict according W3C Validator.

Reproducible: Always




fresh from install, no extension

It affect in 1.5beta2 too
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b5) Gecko/20051007
Debian/1.4.99+1.5beta2.dfsg-1 Firefox/1.4.1
I get the same behavior. After much searching, I was unable to find another bug
stating this problem, which is surprising.
WFM Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.3a1pre) Gecko/20091020 Minefield/3.7a1pre
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.