<?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>78719</bug_id>
          
          <creation_ts>2012-02-15 08:31:11 -0800</creation_ts>
          <short_desc>[GTK] Document that local paths in html loaded with loadHTML might cause the web process to terminate</short_desc>
          <delta_ts>2012-02-16 00:26:44 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit2</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>Gtk</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Garcia Campos">cgarcia</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>gustavo</cc>
    
    <cc>pnormand</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>557296</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2012-02-15 08:31:11 -0800</bug_when>
    <thetext>This happens when baseURL is provided and local paths point to a different directory than base URL. See bug #78227 for more details</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>557298</commentid>
    <comment_count>1</comment_count>
      <attachid>127188</attachid>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2012-02-15 08:34:24 -0800</bug_when>
    <thetext>Created attachment 127188
Patch

I hope it&apos;s clear enough</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>557300</commentid>
    <comment_count>2</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-02-15 08:35:28 -0800</bug_when>
    <thetext>Attachment 127188 did not pass style-queue:

Failed to run &quot;[&apos;Tools/Scripts/update-webkit&apos;]&quot; exit_code: 9

Updating OpenSource
First, rewinding head to replay your work on top of it...
Applying: [Qt] Move Qt platform specific GL Context/Surface creation out of WebCore into WebKit
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging Source/WebCore/ChangeLog
Auto-merging Source/WebCore/platform/graphics/GraphicsContext3D.h
CONFLICT (content): Merge conflict in Source/WebCore/platform/graphics/GraphicsContext3D.h
Auto-merging Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp
CONFLICT (content): Merge conflict in Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp
Auto-merging Source/WebKit/qt/ChangeLog
CONFLICT (content): Merge conflict in Source/WebKit/qt/ChangeLog
Auto-merging Source/WebKit/qt/WebCoreSupport/PageClientQt.cpp
CONFLICT (content): Merge conflict in Source/WebKit/qt/WebCoreSupport/PageClientQt.cpp
Failed to merge in the changes.
Patch failed at 0001 [Qt] Move Qt platform specific GL Context/Surface creation out of WebCore into WebKit

When you have resolved this problem run &quot;git rebase --continue&quot;.
If you would prefer to skip this patch, instead run &quot;git rebase --skip&quot;.
To restore the original branch and stop rebasing run &quot;git rebase --abort&quot;.

rebase refs/remotes/origin/master: command returned error: 1

Died at Tools/Scripts/update-webkit line 164.


If any of these errors are false positives, please file a bug against check-webkit-style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>557331</commentid>
    <comment_count>3</comment_count>
      <attachid>127188</attachid>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2012-02-15 09:49:05 -0800</bug_when>
    <thetext>Comment on attachment 127188
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=127188&amp;action=review

&gt; Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp:890
&gt; + * must be in the same directory than @base_uri. Asbolute local paths pointing to a
&gt; + * different directory than @base_uri will cause the web process to terminate.
&gt; + * If you need to include URLs in @content that are local paths in a different
&gt; + * directory than @base_uri you can build a data uri for them. When @base_uri is %NULL,

Would a phrase like &quot;Absolute local paths must be children of the @base_uri&quot; be clearer? You might mention that this is for security reasons specifically. Asbolute -&gt; Absolute :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>557965</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2012-02-16 00:26:44 -0800</bug_when>
    <thetext>Committed r107904: &lt;http://trac.webkit.org/changeset/107904&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>127188</attachid>
            <date>2012-02-15 08:34:24 -0800</date>
            <delta_ts>2012-02-15 09:49:05 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>wk2-doc-load-html-web-crash.diff</filename>
            <type>text/plain</type>
            <size>2145</size>
            <attacher name="Carlos Garcia Campos">cgarcia</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQyL0No
YW5nZUxvZwppbmRleCA1OGYyODZlLi40MGZkMWMwIDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViS2l0
Mi9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYktpdDIvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTIg
QEAKKzIwMTItMDItMTUgIENhcmxvcyBHYXJjaWEgQ2FtcG9zICA8Y2dhcmNpYUBpZ2FsaWEuY29t
PgorCisgICAgICAgIFtHVEtdIERvY3VtZW50IHRoYXQgbG9jYWwgcGF0aHMgaW4gaHRtbCBsb2Fk
ZWQgd2l0aCBsb2FkSFRNTCBtaWdodCBjYXVzZSB0aGUgd2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i4gVGhlIG1pbWUgdHlwZSBvZiB0aGUgZG9jdW1lbnQgd2lsbCBiZSAidGV4dC9o
dG1sIi4KKyAqIFlvdSBjYW4gbW9uaXRvciB0aGUgbG9hZCBvcGVyYXRpb24gYnkgY29ubmVjdGlu
ZyB0byAjV2ViS2l0V2ViVmlldzo6bG9hZC1jaGFuZ2VkIHNpZ25hbC4KICAqLwogdm9pZCB3ZWJr
aXRfd2ViX3ZpZXdfbG9hZF9odG1sKFdlYktpdFdlYlZpZXcqIHdlYlZpZXcsIGNvbnN0IGdjaGFy
KiBjb250ZW50LCBjb25zdCBnY2hhciogYmFzZVVSSSkKIHsK
</data>
<flag name="review"
          id="129243"
          type_id="1"
          status="+"
          setter="mrobinson"
    />
          </attachment>
      

    </bug>

</bugzilla>