Támogatás keresése

Kerülje el a támogatási csalásokat. Sosem kérjük arra, hogy hívjon fel egy telefonszámot vagy osszon meg személyes információkat. Jelentse a gyanús tevékenységeket a „Visszaélés bejelentése” lehetőséggel.

További tudnivalók

A témacsoportot lezárták és archiválták. Tegyen fel új kérdést, ha segítségre van szüksége.

Firefox v21 can't find files if in *.htm file used "windows style" path slashes to java scripts (on Unix hosting with apache)

  • 7 válasz
  • 2 embernek van ilyen problémája
  • 1 megtekintés
  • Utolsó üzenet ettől: amorphis

more options

Hi. I find a strange behaviour of Firefox v21. If in *.htm file used "windows" path slashes to java scripts (on Unix hosting with apache). Firefox says 404 but other browsers (like Opera, Chrome, IE10) correctly works with this.

Hi. I find a strange behaviour of Firefox v21. If in *.htm file used "windows" path slashes to java scripts (on Unix hosting with apache). Firefox says 404 but other browsers (like Opera, Chrome, IE10) correctly works with this.

Kiválasztott megoldás

You need to use forward slashes in links to make them work properly in Firefox, otherwise Firefox will escape them as %5C as you can see if you would hover them in case of a real link (this is of course not possible in this case).

Válasz olvasása eredeti szövegkörnyezetben 👍 0

Összes válasz (7)

more options

Are you talking about backslash \ vs. a slash / ??

more options

Yes.

<title>SearchBox</title>

       <script src="JS\CountryList.js"></script>
       <script src="JS\DestinationList.js"></script>
        <script src="JS\NationalityList.js"></script>
       <script src="JS\RoomJavascript.js"></script>
       <script src="JS\Date.js"></script>  
       <script src="JS\CommonJS.js"></script>

In this case (if .htm file on Unix hosting) Firefox can't find scrips. Other browsers (Opera, IE10, Chrome) can.

Módosította: amorphis,

more options

Kiválasztott megoldás

You need to use forward slashes in links to make them work properly in Firefox, otherwise Firefox will escape them as %5C as you can see if you would hover them in case of a real link (this is of course not possible in this case).

more options

I think that i previous versions of Firefox browser can correctly work with back slashes. Only now we receiving questions from customers about errors in module work. How about other browsers? Why they correctly works with back slashes in path?

more options

Sorry, I don't recall that Firefox ever worked with backslashes - all the way back to the early versions of Phoenix in 2002.

more options

Hi amorphis, you wrote:

I think that i previous versions of Firefox browser can correctly work with back slashes.

No. Otherwise the "Slashy" extension wouldn't have been needed in 2004 for version 0.8 of Firefox (https://addons.mozilla.org/firefox/ad.../slashy/).

There really is no choice but to fix the links. It won't take long and then you won't have to worry about losing visitors.

more options

Thanks. I will tell developer to fix back slashes in sripts path.

Módosította: amorphis,