Bug 146103 - Variable expansion causes problem when pasting URL
Summary: Variable expansion causes problem when pasting URL
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-29 10:27 UTC by Shinjo Park
Modified: 2007-05-29 22:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shinjo Park 2007-05-29 10:27:00 UTC
Version:            (using KDE KDE 3.5.7)
Installed from:    Ubuntu Packages

When pasting URLs encoded in Korean language, they might contain escape sequences like %B or %C. For example, when a text "가나다라" is encoded in UTF-8, it provides sequence "%EA%B0%80%EB%82%98%EB%8B%A4%EB%9D%BC". However, due to variable expansion, some characters like %B and %C makes the link not clickable.
There is a workaround to turn off variable expansion. Then we lost bold and text color feature, and I have to turn on manually when I need to use it. I suggest that Konversation should use inserting control sequences, not variable expansions with %B or whatever. It is very annoying problem when I have to deal with Korean percent-encoded URL.
Comment 1 Shinjo Park 2007-05-29 11:17:46 UTC
To test this case, use these URLs.
1) Playstation arcticle in Korean Uncyclopedia
http://ko.uncyclopedia.info/wiki/%ED%94%8C%EB%A0%88%EC%9D%B4%EC%8A%A4%ED%85%8C%EC%9D%B4%EC%85%98
2) Playstation article in Japanese Uncyclopedia
http://ja.uncyclopedia.info/wiki/%E3%83%97%E3%83%AC%E3%82%A4%E3%82%B9%E3%83%86%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3
Comment 2 Peter Simonsson 2007-05-29 11:34:22 UTC
We should probably escape % when pasting if variable expansion is enabled. I'll fix later today if none beats me to it.
Comment 3 Peter Simonsson 2007-05-29 22:34:05 UTC
Fixed in trunk, rev 669617. It now automatically escapes % if you have variable expansion enabled. Will be in 1.1