Solved

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

Posted on 2008-06-13
2
352 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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

After uninstalling Opera browser (for example ver. 10.63), your attempts to open a web page by clicking on a URL link may fail with an error message.  The error is "This operation has been canceled due to restrictions in effect on this computer. Ple…
I had to do a bit of research to find the answer to this question so I thought I'd share my results.  Due to our outdated mainframe systems, we need to downgrade IE9 to IE8 in order to stay compatible.  We also needed to downgrade Java.  In order to…
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 +…

743 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

15 Experts available now in Live!

Get 1:1 Help Now