Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

HTML to filenames with spaces search for %2520 instead of %20

  • 3 відповіді
  • 3 мають цю проблему
  • 2 перегляди
  • Остання відповідь від cor-el

more options

Hi

When I have HTML that uses file names with paths that have spaces in them, Firefox 8.01 looks for a URL that has %2520 instead of spaces.

Looking online this seems to be because a space is encoded as %20 and then the % is encoded again as %25.

Why does this happen? Is it a bug? How do I fix it other than go back to using Internet Explorer?

Hi When I have HTML that uses file names with paths that have spaces in them, Firefox 8.01 looks for a URL that has %2520 instead of spaces. Looking online this seems to be because a space is encoded as %20 and then the % is encoded again as %25. Why does this happen? Is it a bug? How do I fix it other than go back to using Internet Explorer?

Усі відповіді (3)

more options

Can you post a link or the HTML code that you use?

more options

The code is:

<img src="C:\Users\User\Documents\Comic Collector\Thumbnails\fb649ddaabbbf57643731dd8a4d463cd.jpg">

It displays correctly in Internet Explorer but not Firefox. Firefox translates it to ...Comic%2520Collector...

Змінено cor-el

more options

You need to use the file:/// protocol for such local links.

<img src="file:///c:/Users/User/Documents/Comic Collector/Thumbnails/fb649ddaabbbf57643731dd8a4d463cd.jpg">