[Discuss] html issue

dan moylan jdm at moylan.us
Thu Apr 7 14:30:26 EDT 2022


dale worely writes:
> discuss-request at driftwood.blu.org writes:
> > From: dan moylan <jdm at moylan.us>
> > Subject: [Discuss] html issue
> >
> > when i enter this string into the url bar, i arrive at the
> > desired amazon web page.
> >    file:///home/moylan/msg/htm/amz.htm
> >
> > when i embed this into an html document, clicking on AMZ
> > gets me nowhere.   what have i misunderstood?
> >
> >    <li><a href="file:///home/moylan/msg/htm/amz.htm">AMZ</a>

> What you are expecting is the "natural" behavior, that when you click on
> the link, the browser loads the specified URL.

> My suspicion is that you're hitting a deliberate security barrier; the
> browser doesn't know that you trust the page containing that <a>, and is
> defending you from a possibly malicious web page directing the browser
> to load a file that may contain information that the web page may not be
> supposed to be touching.

i'm probably shooting myself in the foot somewhere.  note the
attached file at the end (tst.htm).  when i invoke this
directly (file:///home/moylan/www/moy/lnk/tst.htm), FLI-?
works in each and every instance.  when i call this file
from a link on my home page (which consists of a nest of
several frames), i see:

  FLI-0: nothing
  FLI-1: The requested URL was not found on this server.
  FLI-2: aok
  FLI-3: aok
  FLI-4: aok
  FLI-5: The requested URL was not found on this server.
  FLI-6: The requested URL was not found on this server.

in any event, my immediate issue is resolved (i can do what
i need to do), but i'm still curious as to what's going on.

thanks all for looking at my issue.

ole dan

j. daniel moylan
84 harvard ave
brookline, ma 02446-6202
617-777-0207 (cel)
jdm at moylan.us
www.moylan.us
[BLM]

<html>
<head>
  <base target="_top">
  <title>"TST"</title>
</head>
<body>
<div align=center>
<b><font size=+2>TST</b></font><hr>
</div>
<ul>
  <li><a href="file:///home/moylan/www/moy/lnk/htm/fli.htm">FLI-0</a>
  <li><a href="/home/moylan/www/moy/lnk/htm/fli.htm">FLI-1</a>
  <li><a href="htm/fli.htm">FLI-2</a>
  <li><a href="../lnk/htm/fli.htm">FLI-3</a>
  <li><a href="../../moy/lnk/htm/fli.htm">FLI-4</a>
  <li><a href="../../../www/moy/lnk/htm/fli.htm">FLI-5</a>
  <li><a href="../../../../moylan/www/moy/lnk/htm/fli.htm">FLI-6</a>
</ul>
</body>
</html>


More information about the Discuss mailing list