<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>44495</bug_id>
          
          <creation_ts>2010-08-24 00:12:03 -0700</creation_ts>
          <short_desc>[EFL] Url of HistoryItem was broken for special character like korean</short_desc>
          <delta_ts>2010-08-30 21:42:14 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit EFL</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Ryuan Choi">ryuan.choi</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>antognolli+webkit</cc>
    
    <cc>commit-queue</cc>
    
    <cc>lucas.de.marchi</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>268357</commentid>
    <comment_count>0</comment_count>
    <who name="Ryuan Choi">ryuan.choi</who>
    <bug_when>2010-08-24 00:12:03 -0700</bug_when>
    <thetext>visiting any site after entered below site, url of history item was broken.

http://ko.wikipedia.org/wiki/%EC%9C%84%ED%82%A4%EB%B0%B1%EA%B3%BC:%EB%8C%80%EB%AC%B8 (http://ko.wikipedia.org/wiki/위키백과:대문)

It&apos;s because of simple implementation of ewk_fram_view_state_save.
but I think that we can remove setTitle and setURLString in ewk_frame_view_state_save.

I checked like below. and I found that before and after was same.

void ewk_frame_view_state_save(Evas_Object *o, WebCore::HistoryItem* item)
{
    const char *title = ewk_frame_title_get(o);
    const char *uri = ewk_frame_uri_get(o);

    printf(&quot;%s\n&quot;, item-&gt;title().utf8().data());
    printf(&quot;=&gt;%s\n&quot;, title);
    printf(&quot;%s\n&quot;, item-&gt;urlString().utf8().data());
    printf(&quot;=&gt;%s\n&quot;, uri);
    item-&gt;setTitle(WTF::String::fromUTF8(title));
    item-&gt;setURLString(WTF::String::fromUTF8(uri));

    evas_object_smart_callback_call(o, &quot;state,save&quot;, 0);
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>268370</commentid>
    <comment_count>1</comment_count>
      <attachid>65225</attachid>
    <who name="Ryuan Choi">ryuan.choi</who>
    <bug_when>2010-08-24 00:35:58 -0700</bug_when>
    <thetext>Created attachment 65225
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>269947</commentid>
    <comment_count>2</comment_count>
    <who name="Rafael Antognolli">antognolli+webkit</who>
    <bug_when>2010-08-26 10:31:27 -0700</bug_when>
    <thetext>Hi Ryuan,

Can you detail more this problem? I just checked the url of this site on history (using Eve as test application), and it seems to work fine.

Is the url of this korean site that is broken? Or other urls? (actually, everything seems to be ok here)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>270489</commentid>
    <comment_count>3</comment_count>
    <who name="Ryuan Choi">ryuan.choi</who>
    <bug_when>2010-08-27 07:33:00 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Hi Ryuan,
&gt; 
&gt; Can you detail more this problem? I just checked the url of this site on history (using Eve as test application), and it seems to work fine.
&gt; 
&gt; Is the url of this korean site that is broken? Or other urls? (actually, everything seems to be ok here)

yes. It&apos;s hard to reproduce.

below is reproduce step.

1. launch like below
 EWeblauncher http://www.wikipedia.org
2. click link &apos;한국어&apos; and then you can see some korean site which is http://ko.wikipedia.org/wiki/위키백과:대문
3. click a one of link to move other page(I use English in left menu)
4. press F1 to move back.

I found that latest webkit crashes and previous version just print different page which explain broken link as korean.

I&apos;ll investigate why crash. but we&apos;d better to remove this code.
It looks not required and buggy.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>271747</commentid>
    <comment_count>4</comment_count>
      <attachid>65225</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-08-30 16:32:40 -0700</bug_when>
    <thetext>Comment on attachment 65225
Patch

ok</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>271919</commentid>
    <comment_count>5</comment_count>
      <attachid>65225</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-08-30 21:42:09 -0700</bug_when>
    <thetext>Comment on attachment 65225
Patch

Clearing flags on attachment: 65225

Committed r66451: &lt;http://trac.webkit.org/changeset/66451&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>271920</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-08-30 21:42:14 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>65225</attachid>
            <date>2010-08-24 00:35:58 -0700</date>
            <delta_ts>2010-08-30 21:42:09 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-44495-20100824163556.patch</filename>
            <type>text/plain</type>
            <size>1316</size>
            <attacher name="Ryuan Choi">ryuan.choi</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdC9lZmwvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYktpdC9lZmwvQ2hh
bmdlTG9nCShyZXZpc2lvbiA2NTg2OSkKKysrIFdlYktpdC9lZmwvQ2hhbmdlTG9nCSh3b3JraW5n
IGNvcHkpCkBAIC0xLDMgKzEsMTUgQEAKKzIwMTAtMDgtMjQgIFJ5dWFuIENob2kgIDxyeXVhb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