diff options
Diffstat (limited to 'x11/kdelibs3/files/patch-kioslave_http-http.cc')
-rw-r--r-- | x11/kdelibs3/files/patch-kioslave_http-http.cc | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/x11/kdelibs3/files/patch-kioslave_http-http.cc b/x11/kdelibs3/files/patch-kioslave_http-http.cc deleted file mode 100644 index 7c2565aa3a87..000000000000 --- a/x11/kdelibs3/files/patch-kioslave_http-http.cc +++ /dev/null @@ -1,19 +0,0 @@ ---- kioslave/http/http.cc.orig Fri Apr 7 06:17:01 2006 -+++ kioslave/http/http.cc Fri Apr 7 06:18:00 2006 -@@ -3590,6 +3590,16 @@ - error(ERR_ACCESS_DENIED, u.url()); - return false; - } -+ -+ // preserve #ref: (bug 124654) -+ // if we were at http://host/resource1#ref, we sent a GET for "/resource1" -+ // if we got redirected to http://host/resource2, then we have to re-add -+ // the fragment: -+ if (m_request.url.hasRef() && !u.hasRef() && -+ (m_request.url.host() == u.host()) && -+ (m_request.url.protocol() == u.protocol())) -+ u.setRef(m_request.url.ref()); -+ - m_bRedirect = true; - m_redirectLocation = u; - |