საიტის გასაუმჯობესებელი სამუშაოების მიმდინარეობისას, შესაძლებლობების ნაწილი შეიზღუდება. თუ სტატიით ვერ მოახერხებ ხარვეზის გამოსწორება და შეკითხვის დასმა გსურთ, ჩვენი მხარდაჭერის გუნდი დაგეხმარებათ @FirefoxSupport გვერდის მეშვეობით Twitter-ზე და /r/firefox განყოფილებაში Reddit-ზე.

ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში მხარდაჭერის საიტზე. აქ არასდროს მოგთხოვენ სატელეფონო ნომერზე დარეკვას, შეტყობინების გამოგზავნას ან პირადი მონაცემების გაზიარებას. გთხოვთ, გვაცნობოთ რამე საეჭვოს შემჩნევისას „დარღვევაზე მოხსენების“ მეშვეობით.

ვრცლად

A corectly formed html document being sent locally from a program via an IP link displays as text

  • 1 პასუხი
  • 2 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 16 ნახვა
  • ბოლოს გამოეხმაურა atomix01

This seems to be specific to FF 8.0. FF 7.0.1 works correctly. Information from a form is sent to program X via an IP link and the program responds to FF with a properly formed HTML document. In FF 7.0.1, the document displays as an HTML document. In FF 8, it displays as a text string. In FF 8, the PAGE INFO Type is text/plain. In FF 7.0.1 it is text/html. Why is this happening?

This seems to be specific to FF 8.0. FF 7.0.1 works correctly. Information from a form is sent to program X via an IP link and the program responds to FF with a properly formed HTML document. In FF 7.0.1, the document displays as an HTML document. In FF 8, it displays as a text string. In FF 8, the PAGE INFO Type is text/plain. In FF 7.0.1 it is text/html. Why is this happening?

ყველა პასუხი (1)

Here's some more info on this problem: the user has a web page with a form on it. When the "submit" button is pressed, it is sent via port 80 to the localhost. A user-written program is listening on port 80 on the localhost, not a full-blown web server like Apache. This user-written program sends back a short html document to the user. In prior versions of FF, this worked fine. With FF8.0, the user now sees the html document as just plain text.

The user-written program that is standing in for the web server does not write out any headers. My guess is that it needs to send out at least a Content-Type: text/html header before it sends the html code to mnake FF8.0 happy, but I'm kind of guessing here. Is there someone else that can shed some light on this?