<?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>50306</bug_id>
          
          <creation_ts>2010-11-30 19:30:05 -0800</creation_ts>
          <short_desc>REGRESSION: WebChromeClient::shouldReplaceWithGeneratedFileForUpload() uses an uninitialized result value (breaks form submission with clang-built WebKit)</short_desc>
          <delta_ts>2011-02-12 19:35:34 -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>Forms</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.cs.tut.fi/~jkorpela/forms/testing.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jon">jon</reporter>
          <assigned_to name="Alexey Proskuryakov">ap</assigned_to>
          <cc>andersca</cc>
    
    <cc>ap</cc>
    
    <cc>commit-queue</cc>
    
    <cc>mitz</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>315491</commentid>
    <comment_count>0</comment_count>
    <who name="Jon">jon</who>
    <bug_when>2010-11-30 19:30:05 -0800</bug_when>
    <thetext>Building r72983 with clang Apple clang version 2.0 (tags/Apple/clang-121.4) (based on LLVM 2.9svn) works, but it seems to produce a failure with multipart/form-data forms. One that doesn&apos;t exist when building with gcc or llvm-gcc. And that doesn&apos;t seem to affect other form enctype&apos;s. The page I&apos;ve linked isn&apos;t mine but has several form tests. All of them work correctly in shipping Safari but the multipart/form-data one fails when use the same Safari with WebKit built with clang. Ironically this bug also affects the WebKit bug entry form, so I have to submit this bug from shipping Safari. Strangely, some of the forms I&apos;ve encountered with this issue can be fixed by removing the enctype parameter from the form declaration using the inspector. However, the one here isn&apos;t fixed, possibly because it actually needs the enctype to function properly. Whatever the case, removing the enctype parameter from the page I linked at least lets the form&apos;s submit button work, even if the results then differ from shipping Safari.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>345259</commentid>
    <comment_count>1</comment_count>
    <who name="Jon">jon</who>
    <bug_when>2011-02-03 19:23:52 -0800</bug_when>
    <thetext>This is still occuring for me using r77578 and Apple clang version 2.0 (tags/Apple/clang-134) (based on LLVM 2.9svn). The page I linked has a good test. Can someone take a look? I&apos;d like to know if I&apos;ve been hallucinating this bizarre bug for the past few months.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>347908</commentid>
    <comment_count>2</comment_count>
    <who name="Jon">jon</who>
    <bug_when>2011-02-08 19:42:37 -0800</bug_when>
    <thetext>During this failure Safari throws an exception. *** -[NSFileManager fileSystemRepresentationWithPath:]: nil or empty path argument

Here&apos;s the stack:


#0  0x00007fff8725f0da in objc_exception_throw ()
#1  0x00007fff840fa5d7 in +[NSException raise:format:arguments:] ()
#2  0x00007fff840fa564 in +[NSException raise:format:] ()
#3  0x00007fff8187d226 in -[NSFileManager fileSystemRepresentationWithPath:] ()
#4  0x0000000100159bf6 in ?? ()
#5  0x000000010015af45 in ?? ()
#6  0x00007fff840cf96c in __invoking___ ()
#7  0x00007fff840cf83d in -[NSInvocation invoke] ()
#8  0x00007fff840eb711 in -[NSInvocation invokeWithTarget:] ()
#9  0x00007fff840cc98c in ___forwarding___ ()
#10 0x00007fff840c8a68 in __forwarding_prep_0___ ()
#11 0x0000000100a11bf0 in WebChromeClient::shouldReplaceWithGeneratedFileForUpload (this=0x102e1b1f0, path=@0x119547058, generatedFilename=@0x7fff5fbfe480) at /Users/jshier/Programming/webkit/Source/WebKit/mac/WebCoreSupport/WebChromeClient.mm:729
#12 0x0000000100ef4489 in WebCore::FormData::appendKeyValuePairItems (this=0x11b5ffd80, list=@0x11b590060, encoding=@0x11b590060, document=0x119362000) at /Users/jshier/Programming/webkit/Source/WebCore/platform/network/FormData.cpp:217
#13 0x0000000100ef4c2a in WebCore::FormData::createMultiPart (list=@0x11b590060, encoding=@0x11b590060, document=0x119362000) at /Users/jshier/Programming/webkit/Source/WebCore/platform/network/FormData.cpp:112
#14 0x0000000100efaae8 in WebCore::FormSubmission::create (form=0x11951f200, attributes=@0x3, trigger=WebCore::NotSubmittedByJavaScript) at /Users/jshier/Programming/webkit/Source/WebCore/loader/FormSubmission.cpp:196
#15 0x0000000100fa59c9 in WebCore::HTMLFormElement::submit (this=0x11951f200, event=0x11b564b58, formSubmissionTrigger=WebCore::NotSubmittedByJavaScript) at /Users/jshier/Programming/webkit/Source/WebCore/html/HTMLFormElement.cpp:337
#16 0x0000000100fa512e in WebCore::HTMLFormElement::prepareForSubmission (this=0x11951f200, event=0x11b564b58) at /Users/jshier/Programming/webkit/Source/WebCore/html/HTMLFormElement.cpp:285
#17 0x000000010150db01 in WebCore::SubmitInputType::handleDOMActivateEvent (this=0x11951f200, event=0x11b564b58) at /Users/jshier/Programming/webkit/Source/WebCore/html/SubmitInputType.cpp:73
#18 0x0000000100fb103e in WebCore::HTMLInputElement::defaultEventHandler (this=0x1190e1540, evt=0x11b564b58) at /Users/jshier/Programming/webkit/Source/WebCore/html/HTMLInputElement.cpp:1009
#19 0x000000010139532f in WebCore::Node::dispatchGenericEvent (this=0x11951f200) at /Users/jshier/Programming/webkit/Source/WebCore/dom/Node.cpp:2711
#20 0x0000000101394ecc in WebCore::Node::dispatchEvent (this=0x11951f200) at /Users/jshier/Programming/webkit/Source/WebCore/dom/Node.cpp:2607
#21 0x00000001014b6d27 in WebCore::ScopedEventQueue::dispatchEvent (this=0x11951f200) at /Users/jshier/Programming/webkit/Source/WebCore/dom/ScopedEventQueue.cpp:79
#22 0x00000001014b6cb1 in WebCore::ScopedEventQueue::enqueueEvent (this=0x11951f200) at /Users/jshier/Programming/webkit/Source/WebCore/dom/ScopedEventQueue.cpp:64
#23 0x00000001013955e5 in WebCore::Node::dispatchScopedEvent (this=0x11951f200) at /Users/jshier/Programming/webkit/Source/WebCore/dom/Node.cpp:2615
#24 0x000000010139594d in WebCore::Node::dispatchUIEvent (this=0x1190e1540, eventType=@0x102cd9d88, detail=1) at /Users/jshier/Programming/webkit/Source/WebCore/dom/Node.cpp:2761
#25 0x0000000101396ed1 in WebCore::Node::defaultEventHandler (this=0x1190e1540, event=0x11ca73f00) at /Users/jshier/Programming/webkit/Source/WebCore/dom/Node.cpp:2993
#26 0x0000000100fb1342 in WebCore::HTMLInputElement::defaultEventHandler (this=0x1190e1540, evt=0x11ca73f00) at /Users/jshier/Programming/webkit/Source/WebCore/html/HTMLInputElement.cpp:1069
#27 0x000000010139532f in WebCore::Node::dispatchGenericEvent (this=0x1190e1540) at /Users/jshier/Programming/webkit/Source/WebCore/dom/Node.cpp:2711
#28 0x0000000101394ecc in WebCore::Node::dispatchEvent (this=0x1190e1540) at /Users/jshier/Programming/webkit/Source/WebCore/dom/Node.cpp:2607
#29 0x0000000101395ebf in WebCore::Node::dispatchMouseEvent (this=0x1190e1540, eventType=@0x102cd9b60, button=0, detail=1, pageX=71, pageY=71, relatedTargetArg=0x0, screenY=707, screenX=71) at /Users/jshier/Programming/webkit/Source/WebCore/dom/Node.cpp:2885
#30 0x0000000101395b3c in WebCore::Node::dispatchMouseEvent (this=0x1190e1540, event=@0x7fff5fbfedb8, eventType=@0x102cd9b60, detail=1, relatedTarget=0x0) at /Users/jshier/Programming/webkit/Source/WebCore/dom/Node.cpp:2791
#31 0x0000000100ec6d36 in WebCore::EventHandler::dispatchMouseEvent (this=0x102cb21a8, eventType=@0x102cd9b60, targetNode=0x102cd9b60, clickCount=1, mouseEvent=@0x7fff5fbfef60) at /Users/jshier/Programming/webkit/Source/WebCore/page/EventHandler.cpp:1911
#32 0x0000000100ec844a in WebCore::EventHandler::handleMouseReleaseEvent (this=0x1190e1540, mouseEvent=@0x7fff5fbfef60) at /Users/jshier/Programming/webkit/Source/WebCore/page/EventHandler.cpp:1624
#33 0x0000000100eccbbf in WebCore::EventHandler::mouseUp (this=0x1190e1540, event=0x7fff5fbfef60) at /Users/jshier/Programming/webkit/Source/WebCore/page/mac/EventHandlerMac.mm:546
#34 0x0000000100a47d04 in -[WebHTMLView mouseUp:] (self=0x102e1d550, _cmd=0x102cd9b60, event=0x10298c130) at /Users/jshier/Programming/webkit/Source/WebKit/mac/WebView/WebHTMLView.mm:3764
#35 0x00007fff8312f3d9 in -[NSWindow sendEvent:] ()
#36 0x0000000100042489 in ?? ()
#37 0x0000000100042416 in ?? ()
#38 0x00007fff83064a86 in -[NSApplication sendEvent:] ()
#39 0x0000000100039146 in ?? ()
#40 0x00007fff82ffb4da in -[NSApplication run] ()
#41 0x00007fff82ff41a8 in NSApplicationMain ()
#42 0x000000010000a1c0 in ?? ()

Perhaps clang is intializing a variable differently than gcc?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>347946</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-02-08 21:25:50 -0800</bug_when>
    <thetext>I don&apos;t know how to build WebKit with clang, but I think that I know what&apos;s going on. We do call -[NSFileManager fileSystemRepresentationWithPath:] with a nil argument, it raises an exception, and we end up returning from -[_WebSafeForwarder forwardInvocation:] with an uninitialized result. 

This use of uninitialized result is a regression from shipping WebKit, I can observe it with a gcc build - even though the form doesn&apos;t fail to submit for me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>347947</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-02-08 21:26:10 -0800</bug_when>
    <thetext>&lt;rdar://problem/8976152&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>347952</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-02-08 21:33:34 -0800</bug_when>
    <thetext>I didn&apos;t bisect builds to confirm, but this is likely due to r66452, which removed a check for path length in FormData::appendKeyValuePairItems().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>347959</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-02-08 21:43:46 -0800</bug_when>
    <thetext>&gt; *** -[NSFileManager fileSystemRepresentationWithPath:]: nil or empty path argument

Jon, do you also see the following line?

*** WebKit discarded an uncaught exception in the webView:shouldReplaceUploadFile:usingGeneratedFilename: delegate:</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>347967</commentid>
    <comment_count>7</comment_count>
      <attachid>81747</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-02-08 21:50:38 -0800</bug_when>
    <thetext>Created attachment 81747
proposed fix

I&apos;m concerned that _WebSafeForwarder may have been bypassed somehow, or worked incorrectly. But I can&apos;t check that, and this patch should fix form submission.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>348193</commentid>
    <comment_count>8</comment_count>
    <who name="Jon">jon</who>
    <bug_when>2011-02-09 06:50:54 -0800</bug_when>
    <thetext>(In reply to comment #6)
&gt; &gt; *** -[NSFileManager fileSystemRepresentationWithPath:]: nil or empty path argument
&gt; 
&gt; Jon, do you also see the following line?
&gt; 
&gt; *** WebKit discarded an uncaught exception in the webView:shouldReplaceUploadFile:usingGeneratedFilename: delegate:

No, the NSFileManager exception is the only output I see. I&apos;ll try your patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>348197</commentid>
    <comment_count>9</comment_count>
    <who name="Jon">jon</who>
    <bug_when>2011-02-09 06:57:05 -0800</bug_when>
    <thetext>Patch works, as I&apos;m now able to submit this Bugzilla form and comment on the bug. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>348259</commentid>
    <comment_count>10</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-02-09 08:48:22 -0800</bug_when>
    <thetext>&gt; No, the NSFileManager exception is the only output I see.

That&apos;s confusing. It likely means that _WebSafeForwarder doesn&apos;t work, which is a big problem.

&gt; Patch works, as I&apos;m now able to submit this Bugzilla form and comment on the bug. :)

The problem should have only affected forms with file inputs - I don&apos;t think that commenting was broken.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>348273</commentid>
    <comment_count>11</comment_count>
    <who name="Jon">jon</who>
    <bug_when>2011-02-09 09:02:36 -0800</bug_when>
    <thetext>It affected all forms that were multipart/form-data, whether a file was attached or not. I&apos;ve been building WebKit with clang with the Xcode 4 previews.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>348639</commentid>
    <comment_count>12</comment_count>
      <attachid>81747</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-02-09 15:22:28 -0800</bug_when>
    <thetext>Comment on attachment 81747
proposed fix

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

&gt; Source/WebCore/ChangeLog:24
&gt; +2011-02-08  Alexey Proskuryakov  &lt;ap@apple.com&gt;
&gt; +
&gt; +        Reviewed by NOBODY (OOPS!).
&gt; +
&gt; +        Need a short description and bug URL (OOPS!)
&gt; +
&gt; +        No new tests. (OOPS!)
&gt; +
&gt; +        * platform/network/FormData.cpp:
&gt; +        (WebCore::FormData::appendKeyValuePairItems):
&gt; +

Double change log.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>348643</commentid>
    <comment_count>13</comment_count>
      <attachid>81747</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-02-09 15:25:28 -0800</bug_when>
    <thetext>Comment on attachment 81747
proposed fix

Will need to upload a new patch due to double change log...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>348645</commentid>
    <comment_count>14</comment_count>
      <attachid>81883</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-02-09 15:27:34 -0800</bug_when>
    <thetext>Created attachment 81883
patch for landing</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>348943</commentid>
    <comment_count>15</comment_count>
      <attachid>81883</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-02-10 04:42:58 -0800</bug_when>
    <thetext>Comment on attachment 81883
patch for landing

Clearing flags on attachment: 81883

Committed r78202: &lt;http://trac.webkit.org/changeset/78202&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>81747</attachid>
            <date>2011-02-08 21:50:38 -0800</date>
            <delta_ts>2011-02-09 15:25:28 -0800</delta_ts>
            <desc>proposed fix</desc>
            <filename>EmptyPath.txt</filename>
            <type>text/plain</type>
            <size>2815</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDc4MDE1KQorKysgU291cmNlL1dlYkNvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMjcgQEAKKzIwMTEtMDItMDggIEFsZXhleSBQ
cm9za3VyeWFrb3YgIDxhcEBhcHBsZS5jb20+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZ
IChPT1BTISkuCisKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dp
P2lkPTUwMzA2CisgICAgICAgIDxyZGFyOi8vcHJvYmxlbS84OTc2MTUyPiBSRUdSRVNTSU9OOiBX
ZWJDaHJvbWVDbGllbnQ6OnNob3VsZFJlcGxhY2VXaXRoR2VuZXJhdGVkRmlsZUZvclVwbG9hZCgp
CisgICAgIC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lmIChzaG91bGRH
ZW5lcmF0ZUZpbGUpCi0gICAgICAgICAgICAgICAgICAgICAgICAgICAgbmFtZSA9IGdlbmVyYXRl
ZEZpbGVOYW1lOworICAgICAgICAgICAgICAgICAgICBjb25zdCBTdHJpbmcmIHBhdGggPSBmaWxl
LT5wYXRoKCk7CisgICAgICAgICAgICAgICAgICAgIGlmICghcGF0aC5pc0VtcHR5KCkpIHsKKyAg
ICAgICAgICAgICAgICAgICAgICAgIGlmIChQYWdlKiBwYWdlID0gZG9jdW1lbnQtPnBhZ2UoKSkg
eworICAgICAgICAgICAgICAgICAgICAgICAgICAgIFN0cmluZyBnZW5lcmF0ZWRGaWxlTmFtZTsK
KyAgICAgICAgICAgICAgICAgICAgICAgICAgICBzaG91bGRHZW5lcmF0ZUZpbGUgPSBwYWdlLT5j
aHJvbWUoKS0+Y2xpZW50KCktPnNob3VsZFJlcGxhY2VXaXRoR2VuZXJhdGVkRmlsZUZvclVwbG9h
ZChwYXRoLCBnZW5lcmF0ZWRGaWxlTmFtZSk7CisgICAgICAgICAgICAgICAgICAgICAgICAgICAg
aWYgKHNob3VsZEdlbmVyYXRlRmlsZSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
bmFtZSA9IGdlbmVyYXRlZEZpbGVOYW1lOworICAgICAgICAgICAgICAgICAgICAgICAgfQogICAg
ICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAg
ICAgICAgICAgLy8gRm9yIG5vbi1maWxlIGJsb2IsIHVzZSB0aGUgaWRlbnRpZmllciBwYXJ0IG9m
IHRoZSBVUkwgYXMgdGhlIG5hbWUuCg==
</data>
<flag name="review"
          id="73358"
          type_id="1"
          status="+"
          setter="darin"
    />
    <flag name="commit-queue"
          id="73359"
          type_id="3"
          status="-"
          setter="ap"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>81883</attachid>
            <date>2011-02-09 15:27:34 -0800</date>
            <delta_ts>2011-02-10 04:42:58 -0800</delta_ts>
            <desc>patch for landing</desc>
            <filename>EmptyPath.txt</filename>
            <type>text/plain</type>
            <size>2548</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDc3NjY4KQorKysgU291cmNlL1dlYkNvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTYgQEAKKzIwMTEtMDItMDkgIEFsZXhleSBQ
cm9za3VyeWFrb3YgIDxhcEBhcHBsZS5jb20+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgRGFyaW4g
QWRsZXIuCisKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lk
PTUwMzA2CisgICAgICAgIDxyZGFyOi8vcHJvYmxlbS84OTc2MTUyPiBSRUdSRVNTSU9OOiBXZWJD
aHJvbWVDbGllbnQ6OnNob3VsZFJlcGxhY2VXaXRoR2VuZXJhdGVkRmlsZUZvclVwbG9hZCgpCisg
ICAgICAgIHVzZXMgYW4gaW5pdGlhbGl6ZWQgcmVzdWx0IHZhbHVlIChicmVha3MgZm9ybSBzdWJt
aXNzaW9uIHdpdGggY2xhbmctYnVpbHQgV2ViS2l0KQorCisgICAgICAgIE5vIG5ldyB0ZXN0LCBi
ZWNhdXNlIEkgY2FuJ3QgcmVwcm9kdWNlIHRoZSBvYnNlcnZhYmxlIGVmZmVjdCB3aXRoIG15IGdj
YyBidWlsZC4KKworICAgICAgICAqIHBsYXRmb3JtL25ldHdvcmsvRm9ybURhdGEuY3BwOiAoV2Vi
Q29yZTo6Rm9ybURhdGE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bmFtZSA9IGdlbmVyYXRlZEZpbGVOYW1lOworICAgICAgICAgICAg
ICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgfSBl
bHNlIHsKICAgICAgICAgICAgICAgICAgICAgLy8gRm9yIG5vbi1maWxlIGJsb2IsIHVzZSB0aGUg
aWRlbnRpZmllciBwYXJ0IG9mIHRoZSBVUkwgYXMgdGhlIG5hbWUuCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>