After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 576267 - Epiphany offers to download link instead of viewing it
Epiphany offers to download link instead of viewing it
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: Backend
2.27.x
Other Linux
: Normal normal
: ---
Assigned To: Xan Lopez
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-22 07:51 UTC by Priit Laes (IRC: plaes)
Modified: 2009-03-25 15:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Priit Laes (IRC: plaes) 2009-03-22 07:51:42 UTC
When trying to open some links from one domain to another epiphany shows a "Save as" box. Urls:

http://lhv.delfi.ee/news/index.cfm?id=1146314
http://lhv.delfi.ee/news/index.cfm?id=1146192
Comment 1 Gustavo Noronha (kov) 2009-03-22 14:20:19 UTC
This may be caused by the fact that the server sends 2 different Content-Type headers:

wget -S -O /dev/null 'http://lhv.delfi.ee/news/index.cfm?id=1146314'
--2009-03-22 11:16:44--  http://lhv.delfi.ee/news/index.cfm?id=1146314
Resolving lhv.delfi.ee... 90.190.151.34
Connecting to lhv.delfi.ee|90.190.151.34|:80... connected.
HTTP request sent, awaiting response... 
  HTTP/1.1 200 OK
  Connection: close
  Date: Sun, 22 Mar 2009 14:16:51 GMT
  Server: Microsoft-IIS/6.0
  Content-type: text/html
  Page-Completion-Status: Normal
  Expires: -1
  Content-Type: text/html; charset=windows-1257
  Page-Completion-Status: Normal
  Set-Cookie: CFID=45627684; path=/; 
  Set-Cookie: CFTOKEN=52268372; path=/; 
  Set-Cookie: LOG_CLIENT_ID=35258851; expires=Sun, 27-Sep-2037 00:00:00 GMT; path=/;

Probably a limitation in Soup, or a bug in WebKit. May be related to the problems me and Xan were noticing where on some download sites Epiphany would try to download an HTML file that leads to the file. I'll take a look.
Comment 2 Gustavo Noronha (kov) 2009-03-22 22:24:21 UTC
https://bugs.webkit.org/show_bug.cgi?id=24750

I provided a patch there.
Comment 3 Gustavo Noronha (kov) 2009-03-25 15:14:24 UTC
This is now fixed in WebKit: http://trac.webkit.org/changeset/41975.