Solved

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

Posted on 2008-06-13
2
361 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Now-a-days, indirectly, postal services have been replaced by email services. Yes, whenever we hear the word "email" a lot of people only think of gmail. Some people still think that email and gmail are one and the same thing :-). Let's see some …
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
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.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

910 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now