recommended tags on editing a post are opened as a file

Create issue
Issue #1941 closed
Robert Jäschke created an issue

Since the last release (2.0.43), when I post a bookmark or publication the recommended tags are opened by the browser separately. I.e., the browser opens a tab for the /postPublication page (e.g., this one) and in addition, it downloads the recommended tags and opens them in the program associated to open JSON files (an editor in my case).

This happens with a rather old version with Firefox (3.5.16) and is pretty annoying. I looked at the response headers for the JSON:

HTTP/1.1 200 OK
Date: Tue, 01 Apr 2014 06:31:25 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Cache-Control: no-cache
Expires: Wed, 31 Dec 1969 23:59:59 GMT
Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: application/json;charset=UTF-8
Content-Language: en
Via: 1.1, 1.1
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 240
Keep-Alive: timeout=15, max=94
Connection: Keep-Alive

they look OK. Unfortunately, I don't know how the headers looked before the release, i.e., when we returned XML.

Is someone able to find out what is going wrong?

Comments (6)

  1. Log in to comment