Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 797625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T22:50:21+00:00 2026-05-14T22:50:21+00:00

This is the most peculiar thing. It is from an old in house CMS.

  • 0

This is the most peculiar thing.

It is from an old in house CMS.

When I attempt to submit my changes, it prompts to save the file linked in the action attribute of the form.

Headers

Request

POST /~site/edit/articles/article_save.php?id=54 HTTP/1.1
Host: example.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://example.com
Content-Type: multipart/form-data; boundary=---------------------------10102754414578508781458777923
Content-Length: 940
-----------------------------10102754414578508781458777923
Content-Disposition: form-data; name="title"

Home Content
-----------------------------10102754414578508781458777923
Content-Disposition: form-data; name="catid"

18
-----------------------------10102754414578508781458777923
Content-Disposition: form-data; name="activecheck"

1
-----------------------------10102754414578508781458777923
Content-Disposition: form-data; name="image"


-----------------------------10102754414578508781458777923
Content-Disposition: form-data; name="contentWidgToolbarSelectBlock"

<p>
-----------------------------10102754414578508781458777923
Content-Disposition: form-data; name="content"

<p>Edit your article in this text box.</p>
-----------------------------10102754414578508781458777923
Content-Disposition: form-data; name="contentWidgEditor"

true
-----------------------------10102754414578508781458777923--

Response

HTTP/0.9 200 OK

And then Firefox shows….

Firefox
(source: alexanderdickson.com)

I can’t determine from the response headers as to why this is prompting to open/save. It has always worked. All other PHP files on the site work fine.

Anyone have a clue?

Thanks

Update

Apparently, it just crashes Safari.

I added an image to the CMS article and for some unbeknown reason, it saved correctly. I can not explain why.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T22:50:21+00:00Added an answer on May 14, 2026 at 10:50 pm

    It would seem that the web server believes that your request is not an HTTP/1.0+ request, so falling back to prehistoric HTTP/0.9, from back before there were headers to worry about.

    Consequently it returns an HTTP/0.9 response. There’s no Content-Type header in an HTTP/0.9 response, so the browser doesn’t know what type of file it’s getting back, so it treats it as application/octet-stream and prompts to save.

    How is the request being generated, and how are you inspecting it? Because this looks suspicious:

    Content-Length: 940
    -----------------------------10102754414578508781458777923
    

    There should be another newline between those two lines. A double-newline is necessary to signify the end of the headers.

    (Problems like this can also occur because something Windowsy along the line is eating CRLF sequences and turning them into plain LF newlines, preventing them from working as HTTP/MIME line endings.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to receive multi file post from image uploader.( i use this )
I am having this most annoying issue when I try to rebuild my solution
As we do this most of the time to increase the Maximum execution time
This is most likely not an easy one but here is the situation: I
I know this is most-likely a simple question but when you restore a database
This is actually a non-critical question, but I get this warning most of the
I've been working on this problem most of the morning and I think I
I'm pulling in xml using the cocoa NSXmlParser. Since this process most likely won't
I'll let this jsfiddle describe most of the problem for me. http://jsfiddle.net/zAPVQ/4/ I've got
I'm new to most of this so forgive me if I'm doing something really

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.