Solved

How to have Firefox convert %20 back to spaces for a plugin?

Posted on 2008-06-13
2
367 Views
Last Modified: 2013-12-07
I have an internal webpage that was setup with links to many pdf files by someone a while back. The file names of the pdfs have spaces between the names. Example: http://mysite.com/pdfs/big car.pdf

If these links are opened in IE, they resolve just fine with %20 in the spaces, the pdf opens fine: http://mysite.com/pdfs/big%20car.pdf

But if I use Firefox it resolves the name the same way but can't open the pdf in Adobe, I get 'page cannot be displayed'. I've been told that this is because Firefox can't convert the %20 back to a space when it goes to the adobe plug-in.

Anyone know how to fix Firefox so it can concert 420 back to spaces when sending to a plugin?
0
Comment
Question by:yuhs
  • 2
2 Comments
 
LVL 54

Accepted Solution

by:
b0lsc0tt earned 500 total points
ID: 21783033
yuhs,

I am not sure I understand you correctly or you got good info on the problem and Firefox.  Can you do a test.  Have the URL in the href of the link use the encoding (i.e. %20) instead of a space.  So if you current link that works in IE looks like the following in the html source:

<a href="http://mysite.com/pdfs/big car.pdf">PDF</a>

Then make it:

<a href="http://mysite.com/pdfs/big%20car.pdf">PDF</a>

What is the result of that link in Firefox?  I believe it will work.  The problem isn't really converting %20 to space for the plug in but a valid URL in the link.  Spaces aren't valid for a URL and will cause validation issues if used like example 1 above.

If I am right then do you have the option of fixing the links and their html?

Let me know if you have any questions or need more information.

b0lsc0tt
0
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 22080484
Please explain the B grade.  Since you accepted this and made no comment at all it would seem you got your answer and all the info you need.  If so an A grade is the appropriate grade (http://www.experts-exchange.com/help.jsp#hi97).  If a mistake was made or you have a question about grading here then please let me know.  If you still have a question and need help then let me know.  Otherwise please justify the grade.
Thanks for the fun question.
bol
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I recently found myself in a Corporate Situation where the client had requested blocking access to any and all websites except his own Domain? Easy? I am sure this would be your answer but their requirement was, this has to be done without using…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question