W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2001

Re: PDF linking problems

From: Al Gilman <asgilman@iamdigex.net>
Date: Fri, 08 Jun 2001 08:49:29 -0400
Message-Id: <200106081246.IAA342480@smtp2.mail.iamworld.net>
To: "Amy Dario" <darioa@outreach.utk.edu>
Cc: w3c-wai-ig@w3.org
Amy,

The file system of the computer where the PDF files are served from allows
blanks in file names.  You can't just change blanks to underscores and have
the
URLs point to the right files.

In places where URLs may not contain blanks, such as in the HTTP request a
browser sends to her server, the blanks in the file names must be URL-encoded
as aaa%20bbb%20ccc.pdf, not aaa_bbb_ccc.pdf.

You should make this substitution (use the %nn encoding) where the URLs appear
in the href attribute of your link elements.

Al

PS:  If you do a Google search for "blanks in URLs" you will find a few pages
which explain this, but I didn't find one that I consider a proper FAQ or
tutorial on the subject.  Does anyone know of a good FAQ writeup for this
point?  It's surely a FAQ.


At 02:06 PM 2001-06-08 +0200, you wrote:
>
>I was asked to look at a web page that had links to pdfs.  Initially I =
>noticed that the some of the link names weren't connected with =
>underscores.  In other words there were a number of files listed like =
>'aaa bbb ccc.pdf', 'uuu ccc.pdf', etc.  I changed the files to =
>'aaa_bbb_ccc.pdf', etc. and they seem to work OK on the machines I'm =
>using. But the owner of the web is still having problems seeing the =
>pdfs.  She says when she clicks on a pdf link it's shows up blank and =
>she says that the links have been working for the past year. =20
>
>She's also refreshed the page and exited out of IE
>
>Has anyone run across this before?
>
>tks,
>Amy
>
>- ------=_NextPart_000_0007_01C0EF52.1BE0ADC0
>  
Received on Friday, 8 June 2001 08:47:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:13:55 GMT