<?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>44436</bug_id>
          
          <creation_ts>2010-08-23 10:09:39 -0700</creation_ts>
          <short_desc>Cannot complete DHS form AR-11 online due to interactive form control validation (affects other high profile sites)</short_desc>
          <delta_ts>2017-11-18 01:42:31 -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</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>https://egov.uscis.gov/crisgwi/go?action=coa.cr.Residence</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>28649</blocked>
    
    <blocked>59019</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Kent Tamura">tkent</assigned_to>
          <cc>ian</cc>
    
    <cc>mifenton</cc>
    
    <cc>mjs</cc>
    
    <cc>m.kurz+webkitbugs</cc>
    
    <cc>rniwa</cc>
    
    <cc>syoichi</cc>
    
    <cc>tabatkins</cc>
    
    <cc>tkent</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>267972</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-08-23 10:09:39 -0700</bug_when>
    <thetext>This form has a field with required=&quot;no&quot;:

&lt;div id=&quot;fld-MiddleName&quot;&gt;&lt;label for=&quot;MiddleName&quot;&gt;Middle Name&lt;/label&gt;&lt;span&gt;&lt;input name=&quot;coaCreate.MiddleName&quot; id=&quot;MiddleName&quot; class=&quot;  fv-alpha&quot; required=&quot;no&quot; maxlength=&quot;18&quot; type=&quot;text&quot; value=&quot;&quot;/&gt;&lt;/span&gt;&lt;/div&gt;

I&apos;m seeing this problem with Safari 5.0.1 - not with ToT, but that&apos;s only due to the fact that interactive form control validation has been disabled in ToT, I think.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>390094</commentid>
    <comment_count>1</comment_count>
      <attachid>90548</attachid>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2011-04-21 09:55:22 -0700</bug_when>
    <thetext>Created attachment 90548
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>390129</commentid>
    <comment_count>2</comment_count>
      <attachid>90548</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-04-21 10:28:43 -0700</bug_when>
    <thetext>Comment on attachment 90548
Patch

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

It seems unlikely that this site is the only one affected.

Could you please give an overview of working group discussions on this topic? Was is decided that making sites like this not spec-compliant is acceptable? Were there any other examples mentioned?

&gt; Source/WebCore/html/HTMLInputElement.cpp:1222
&gt; +    // webkit.org/b/44436

It&apos;s probably unnecessary to give a bug link - one can get that from svn blame if the information in the comment is not sufficient.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>390403</commentid>
    <comment_count>3</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2011-04-21 15:37:43 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; It seems unlikely that this site is the only one affected.
&gt; 
&gt; Could you please give an overview of working group discussions on this topic? Was is decided that making sites like this not spec-compliant is acceptable? Were there any other examples mentioned?

The following message introduced some other examples of invalid &quot;required&quot; usages.
http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-August/027647.html

I remembered Hixie said he could change the attribute name &quot;required&quot; to another, and it&apos;s not done.
I&apos;m afraid that the new name is also used to other purposes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>390416</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-04-21 15:54:32 -0700</bug_when>
    <thetext>Thank you!

My opinion is that we should probably hold off landing this. The list of affected sites in that e-mail is horrifying, and calls for a more general solution than adding site specific quirks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>393038</commentid>
    <comment_count>5</comment_count>
      <attachid>90548</attachid>
    <who name="Adele Peterson">adele</who>
    <bug_when>2011-04-26 16:41:06 -0700</bug_when>
    <thetext>Comment on attachment 90548
Patch

r- based on Alexey&apos;s last comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>740425</commentid>
    <comment_count>6</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-10-11 16:48:47 -0700</bug_when>
    <thetext>http://code.google.com/p/chromium/issues/detail?id=154611

I hit this bug as well. We need to change the spec. accordingly. The current specification is clearly incompatible with the Web.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>741840</commentid>
    <comment_count>7</comment_count>
      <attachid>168646</attachid>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2012-10-15 01:26:14 -0700</bug_when>
    <thetext>Created attachment 168646
Patch 2

rebase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>741845</commentid>
    <comment_count>8</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2012-10-15 01:30:39 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; We need to change the spec. accordingly. The current specification is clearly incompatible with the Web.

I think changing the spec is too late.  Major browsers already implemented &quot;required&quot; attribute, and the attribute name was not renamed though we discussed it in WHATWG.

Google Chrome have had the interactive validation feature for 1.5 years, and I haven&apos;t heard compatibility issues other than this one.  Site-specific quirk is reasonable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742059</commentid>
    <comment_count>9</comment_count>
      <attachid>168646</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-10-15 08:31:47 -0700</bug_when>
    <thetext>Comment on attachment 168646
Patch 2

Okay. Sounds like a reasonable solution until we find another site that&apos;s broken.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742185</commentid>
    <comment_count>10</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-10-15 11:01:26 -0700</bug_when>
    <thetext>FWIW, we did consider this pretty carefully at the time. Any attribute name is going to have _some_ issues, and we decided that required=&quot;&quot;&apos;s issues were limited enough that we could live with it. (The cost of having an unobvious attribute name being higher than the cost of a few sites breaking.)

Do you think I should put this site-specific hack in the spec? (Or to put it another way: do you think other browsers should also have this hack?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742188</commentid>
    <comment_count>11</comment_count>
    <who name="Tab Atkins">tabatkins</who>
    <bug_when>2012-10-15 11:02:48 -0700</bug_when>
    <thetext>(In reply to comment #9)
&gt; (From update of attachment 168646 [details])
&gt; Okay. Sounds like a reasonable solution until we find another site that&apos;s broken.

The first step in dealing with this site *should* be to get our DevRel to try and make them fix it.  I know the site has resisted fixing themselves when normal web devs have complained, but it&apos;s possible that we can throw more weight at it.

We should attempt that *before* adding a quirk for them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742192</commentid>
    <comment_count>12</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-10-15 11:06:33 -0700</bug_when>
    <thetext>Note that this is broken in Firefox too. And Opera.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742200</commentid>
    <comment_count>13</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-10-15 11:12:10 -0700</bug_when>
    <thetext>This is bad enough that I would expect other browsers to implement the same site-specific quirk at least for now. Leaving the form unusable even for a day is unacceptable because the U.S. government requires non-U.S. citizens to update their address using this form within the 10 days of a move.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742207</commentid>
    <comment_count>14</comment_count>
    <who name="Tab Atkins">tabatkins</who>
    <bug_when>2012-10-15 11:16:42 -0700</bug_when>
    <thetext>(In reply to comment #13)
&gt; This is bad enough that I would expect other browsers to implement the same site-specific quirk at least for now. Leaving the form unusable even for a day is unacceptable because the U.S. government requires non-U.S. citizens to update their address using this form within the 10 days of a move.

It&apos;s been left &quot;unusable&quot; for months (however long it&apos;s been since our support for &apos;required&apos; hit stable), so taking an additional day (or a week or two) for DevRel to try and fix this properly seems okay.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742212</commentid>
    <comment_count>15</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-10-15 11:25:01 -0700</bug_when>
    <thetext>(In reply to comment #14)
&gt; It&apos;s been left &quot;unusable&quot; for months (however long it&apos;s been since our support for &apos;required&apos; hit stable), so taking an additional day (or a week or two) for DevRel to try and fix this properly seems okay.

That&apos;s insane. The only fix ordinary users can make is to use a browser that doesn&apos;t do validation instead. You don&apos;t seem to understand how important it is for this form to function correctly for millions of users.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742221</commentid>
    <comment_count>16</comment_count>
    <who name="Tab Atkins">tabatkins</who>
    <bug_when>2012-10-15 11:30:54 -0700</bug_when>
    <thetext>(In reply to comment #15)
&gt; (In reply to comment #14)
&gt; &gt; It&apos;s been left &quot;unusable&quot; for months (however long it&apos;s been since our support for &apos;required&apos; hit stable), so taking an additional day (or a week or two) for DevRel to try and fix this properly seems okay.
&gt; 
&gt; That&apos;s insane. The only fix ordinary users can make is to use a browser that doesn&apos;t do validation instead. You don&apos;t seem to understand how important it is for this form to function correctly for millions of users.

No, I understand how important this form is.

I also understand, though, that the form is (a) *not* unusable, just *harder* to use - every field becomes required, and (b) this form has been functioning incorrectly in all modern browsers for *years* (since 2010-08-23, at least), and people have somehow muddled through and still submitted their address changes.

This suggests that this is *not* an issue that must be solved RIGHT AWAY (though sooner is better, of course), and we have the luxury of taking a little time to try and solve it *correctly* first, rather than putting a quirk in every browser.

I have no problem with this quirk being added *after* we&apos;ve exhausted the DevRel route to get the site fixed properly.  I have a *big* problem with this quirk being the first and only way we try to fix the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742228</commentid>
    <comment_count>17</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-10-15 11:37:29 -0700</bug_when>
    <thetext>People are forced to use browsers that don&apos;t implement validations like Internet Explorer or like me manually modify the DOM in developer tools to work around the issue. And no, you can&apos;t muddle through this form on a browser that prevents submission upon validation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742230</commentid>
    <comment_count>18</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-10-15 11:42:33 -0700</bug_when>
    <thetext>Also, submitting incorrect information on that form is a crime and could result in the deportation of the person who submitted the form. Hence it&apos;s completely unreasonable to expect users to even try &quot;muddling&quot; with the form.

Quite frankly, this form not functioning properly is a good enough reason for me to stop using Chrome.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742294</commentid>
    <comment_count>19</comment_count>
    <who name="Tab Atkins">tabatkins</who>
    <bug_when>2012-10-15 12:41:07 -0700</bug_when>
    <thetext>(In reply to comment #18)
&gt; Also, submitting incorrect information on that form is a crime and could result in the deportation of the person who submitted the form. Hence it&apos;s completely unreasonable to expect users to even try &quot;muddling&quot; with the form.
&gt; 
&gt; Quite frankly, this form not functioning properly is a good enough reason for me to stop using Chrome.

Once again, this has been a problem FOR 2 YEARS.  Waiting two weeks for devrel to try and get it fixed properly won&apos;t kill anyone.

You&apos;re making it sound like DHS has been deporting people left and right for the last two years for submitting bad info on this form.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742308</commentid>
    <comment_count>20</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-10-15 12:46:33 -0700</bug_when>
    <thetext>Have all the other sites mentioned in e-mail linked from comment 3 (&lt;http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-August/027647.html&gt;) been changed to not use &quot;required&quot;?

I agree that switching to Safari or IE to fill out this form should be a fine workaround ;-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742436</commentid>
    <comment_count>21</comment_count>
      <attachid>168646</attachid>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2012-10-15 14:20:34 -0700</bug_when>
    <thetext>Comment on attachment 168646
Patch 2

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

&gt; Source/WebCore/html/HTMLInputElement.cpp:1461
&gt; +    if (!document()-&gt;documentURI().startsWith(&quot;https://egov.uscis.gov/&quot;, false))

We usually do site-specific hack checks by hostname rather than by URL prefix checking.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742681</commentid>
    <comment_count>22</comment_count>
      <attachid>168646</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-10-15 18:13:41 -0700</bug_when>
    <thetext>Comment on attachment 168646
Patch 2

(In reply to comment #20)
&gt; Have all the other sites mentioned in e-mail linked from comment 3 (&lt;http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-August/027647.html&gt;) been changed to not use &quot;required&quot;?

Oops, I missed that. They have NOT been fixed :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>744443</commentid>
    <comment_count>23</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-10-17 11:21:48 -0700</bug_when>
    <thetext>(Reply to that was: http://lists.w3.org/Archives/Public/public-whatwg-archive/2010Aug/0403.html )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>903524</commentid>
    <comment_count>24</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-06-25 21:24:36 -0700</bug_when>
    <thetext>Blink added a site specific hack in https://chromium.googlesource.com/chromium/blink/+/6a881460b939c2ae1ef25bfbe659d6291a18a30a.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1371743</commentid>
    <comment_count>25</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2017-11-14 23:12:12 -0800</bug_when>
    <thetext>DHS has re-written their website now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1373130</commentid>
    <comment_count>26</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-11-17 10:17:50 -0800</bug_when>
    <thetext>What about the other sites mentioned in comment 3? This bug tracks all of them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1373521</commentid>
    <comment_count>27</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2017-11-18 01:42:31 -0800</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #26)
&gt; What about the other sites mentioned in comment 3? This bug tracks all of
&gt; them.

Hm... we should probably file a new bug to track that. By the way, that hyperlink to WHATWG mailing list message is 404 now :(</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>90548</attachid>
            <date>2011-04-21 09:55:22 -0700</date>
            <delta_ts>2012-10-15 01:26:08 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-44436-20110421095520.patch</filename>
            <type>text/plain</type>
            <size>3292</size>
            <attacher name="Kent Tamura">tkent</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogODQ0MDkKZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJDb3JlL0No
YW5nZUxvZyBiL1NvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwppbmRleCAzODg1ZWEyMGJiMjhmMzc2
NGE3ZTA5Y2MzZTFiNTRiZGJmNzNlM2MzLi5hMTY0NzliYWI5ZTJmMDUxNzM4M2Y1NzlmMDVjYjM4
NmFmM2YzOWUzIDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvU291
cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCkBAIC0xLD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lU2VsZWN0aW9uKGludCBzdGFydCwgaW50IGVuZCkKZGlmZiAtLWdpdCBh
L1NvdXJjZS9XZWJDb3JlL2h0bWwvSFRNTElucHV0RWxlbWVudC5oIGIvU291cmNlL1dlYkNvcmUv
aHRtbC9IVE1MSW5wdXRFbGVtZW50LmgKaW5kZXggMmE5OGIxM2RhMjZiY2M1YzNhZWI0MzExMjU2
Nzg1M2YxZDIyMTcwNC4uODdiNjk1NmU3MjFhZGY5MTBiOGFlNTc5MWVlMjk5OTI1MjcyZmM1ZSAx
MDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvaHRtbC9IVE1MSW5wdXRFbGVtZW50LmgKKysrIGIv
U291cmNlL1dlYkNvcmUvaHRtbC9IVE1MSW5wdXRFbGVtZW50LmgKQEAgLTI5MSw2ICsyOTEsNyBA
QCBwcml2YXRlOgogICAgIHZpcnR1YWwgaW50IGNhY2hlZFNlbGVjdGlvbkVuZCgpIGNvbnN0IHsg
cmV0dXJuIG1fZGF0YS5jYWNoZWRTZWxlY3Rpb25FbmQoKTsgfQogCiAgICAgdmlydHVhbCBib29s
IGlzT3B0aW9uYWxGb3JtQ29udHJvbCgpIGNvbnN0IHsgcmV0dXJuICFpc1JlcXVpcmVkRm9ybUNv
bnRyb2woKTsgfQorICAgIGJvb2wgc2hvdWxkSWdub3JlUmVxdWlyZWRBdHRyaWJ1dGUoKSBjb25z
dDsKICAgICB2aXJ0dWFsIGJvb2wgaXNSZXF1aXJlZEZvcm1Db250cm9sKCkgY29uc3Q7CiAgICAg
dmlydHVhbCBib29sIHJlY2FsY1dpbGxWYWxpZGF0ZSgpIGNvbnN0OwogCg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>168646</attachid>
            <date>2012-10-15 01:26:14 -0700</date>
            <delta_ts>2012-10-15 18:13:41 -0700</delta_ts>
            <desc>Patch 2</desc>
            <filename>bug-44436-20121015172505.patch</filename>
            <type>text/plain</type>
            <size>3170</size>
            <attacher name="Kent Tamura">tkent</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTMxMjkxCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggNjEyN2MzNWI4NTgxYTlh
MWFkZmFhOGRmOTU1YTE4ZDc1YWRkY2QzYS4uZGIwMTAzNTUwNjViZjhlZWVkYjY0Yzk5ZTM0NWU5
M2Y4MGQzNWM4YSAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDIwIEBACisyMDEyLTEwLTE1ICBLZW50
IFRhbXVyYSAgPHRrZW50QGNocm9taXVtLm9yZz4KKworICAgICAgICBJZ25vcmUgcmVxdWlyZWQ9
bm8gYXR0cmlidXRlIGZvciBlZ292LnVzY2lzLmdvdi4KKyAgICAgICAgaHR0cHM6Ly9idWdzLndl
YmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTQ0NDM2CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9C
T0RZIChPT1BTISkuCisKKyAgICAgICAgTm8gbmV3IHRlc3RzLiBTaXRlLXNwZWNpZmljIHF1aXJr
IGlzIG5vdCB0ZXN0YWJsZS4KKworICAgICAgICAqIGh0bWwvSFRNTElucHV0RWxlbWVudC5jcHA6
CisgICAgICAgIChXZWJDb3JlOjpIVE1MSW5wdXRFbGVtZW50OjpzaG91bGRJZ25vcmVSZXF1aXJl
ZEF0dHJpYnV0ZSk6CisgICAgICAgICBBZGQgYSBmdW5jdGlvbiB0aGF0IHJldHVybnMgdHJ1ZSBp
ZiBzaXRlLXNwZWNpZmljIHF1aXJrcyBpcyBlbmFibGVkCisgICAgICAgICBhbmQgdGhlIGRvY3Vt
ZW50IGlzIGluIGh0dHBzOi8vZWdv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3Q7CiAgICAgdmlydHVhbCB2b2lkIHJl
cXVpcmVkQXR0cmlidXRlQ2hhbmdlZCgpIE9WRVJSSURFOwo=
</data>
<flag name="review"
          id="181689"
          type_id="1"
          status="-"
          setter="rniwa"
    />
          </attachment>
      

    </bug>

</bugzilla>