<?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>191325</bug_id>
          
          <creation_ts>2018-11-06 12:57:43 -0800</creation_ts>
          <short_desc>[ews-app] Fix Invalid HTTP_HOST header</short_desc>
          <delta_ts>2018-11-06 15:26:33 -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>Tools / Tests</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Aakash Jain">aakash_jain</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>lforschler</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1475642</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2018-11-06 12:57:43 -0800</bug_when>
    <thetext>After deploying the EWS_app to ews.webkit-uat.org, accessing http://ews.webkit-uat.org encounters an error: 

Exception Type: DisallowedHost at /
Exception Value: Invalid HTTP_HOST header: &apos;ews.webkit-uat.org&apos;. You may need to add u&apos;ews.webkit-uat.org&apos; to ALLOWED_HOSTS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1475646</commentid>
    <comment_count>1</comment_count>
      <attachid>353994</attachid>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2018-11-06 13:01:07 -0800</bug_when>
    <thetext>Created attachment 353994
Proposed patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1475697</commentid>
    <comment_count>2</comment_count>
      <attachid>353994</attachid>
    <who name="Lucas Forschler">lforschler</who>
    <bug_when>2018-11-06 14:17:20 -0800</bug_when>
    <thetext>Comment on attachment 353994
Proposed patch

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

&gt; Tools/ChangeLog:8
&gt; +        Changing ALLOWED_HOSTS to * as the landing page should be publically accessible.

nit: publicly</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1475729</commentid>
    <comment_count>3</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2018-11-06 15:25:04 -0800</bug_when>
    <thetext>Committed r237897: &lt;https://trac.webkit.org/changeset/237897&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1475730</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-11-06 15:26:33 -0800</bug_when>
    <thetext>&lt;rdar://problem/45858398&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>353994</attachid>
            <date>2018-11-06 13:01:07 -0800</date>
            <delta_ts>2018-11-06 14:17:20 -0800</delta_ts>
            <desc>Proposed patch</desc>
            <filename>ews-app_allowed_hosts.patch</filename>
            <type>text/plain</type>
            <size>1107</size>
            <attacher name="Aakash Jain">aakash_jain</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDIzNzg4MikKKysrIFRvb2xzL0NoYW5nZUxvZw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VDVVJJVFkgV0FSTklO
RzogZG9uJ3QgcnVuIHdpdGggZGVidWcgdHVybmVkIG9uIGluIHByb2R1Y3Rpb24hCiBERUJVRyA9
IFRydWUKIAotQUxMT1dFRF9IT1NUUyA9IFtdCitBTExPV0VEX0hPU1RTID0gWycqJ10KIAogCiAj
IEFwcGxpY2F0aW9uIGRlZmluaXRpb24K
</data>
<flag name="review"
          id="371206"
          type_id="1"
          status="+"
          setter="lforschler"
    />
          </attachment>
      

    </bug>

</bugzilla>