ALT Linux Bugzilla
– Attachment 1982 Details for
Bug 4551
khtml does not follow links with cyr paths (switch "View -> encoding")
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Оказалась ошибка в kdelibs-3.5.6/kdecore/kurl.cpp
alt_kurl.patch (text/plain), 745 bytes, created by
Andriy Stepanov
on 2007-05-22 12:56:01 MSD
(
hide
)
Description:
Оказалась ошибка в kdelibs-3.5.6/kdecore/kurl.cpp
Filename:
MIME Type:
Creator:
Andriy Stepanov
Created:
2007-05-22 12:56:01 MSD
Size:
745 bytes
patch
obsolete
>diff -ruN kdelibs-3.5.6-orig/kdecore/kurl.cpp kdelibs-3.5.6/kdecore/kurl.cpp >--- kdelibs-3.5.6-orig/kdecore/kurl.cpp 2005-11-19 12:09:18 +0300 >+++ kdelibs-3.5.6/kdecore/kurl.cpp 2007-05-22 10:22:29 +0400 >@@ -596,7 +596,20 @@ > if ( m_strPath.isEmpty() ) > m_strPath = '/'; > } >- KURL tmp( url() + rUrl, encoding_hint); >+ >+ QString local; >+ if (encoding_hint==0) >+ local = rUrl.local8Bit(); >+ else >+ { >+ QTextCodec *textCodec = codecForHint( encoding_hint ); >+ if (!textCodec) >+ local = rUrl.local8Bit(); >+ else >+ local = textCodec->toUnicode(rUrl.latin1()).local8Bit(); >+ } >+ KURL tmp( url() + local ); >+ > *this = tmp; > cleanPath(false); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 4551
: 1982