Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2008-06-13
2
Medium Priority
?
394 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 54

Accepted Solution

by:
b0lsc0tt earned 1500 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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

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…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
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.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

610 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