Bug 191325 - [ews-app] Fix Invalid HTTP_HOST header
Summary: [ews-app] Fix Invalid HTTP_HOST header
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Aakash Jain
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-11-06 12:57 PST by Aakash Jain
Modified: 2018-11-06 15:26 PST (History)
3 users (show)

See Also:


Attachments
Proposed patch (1.08 KB, patch)
2018-11-06 13:01 PST, Aakash Jain
lforschler: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aakash Jain 2018-11-06 12:57:43 PST
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: 'ews.webkit-uat.org'. You may need to add u'ews.webkit-uat.org' to ALLOWED_HOSTS.
Comment 1 Aakash Jain 2018-11-06 13:01:07 PST
Created attachment 353994 [details]
Proposed patch
Comment 2 Lucas Forschler 2018-11-06 14:17:20 PST
Comment on attachment 353994 [details]
Proposed patch

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

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

nit: publicly
Comment 3 Aakash Jain 2018-11-06 15:25:04 PST
Committed r237897: <https://trac.webkit.org/changeset/237897>
Comment 4 Radar WebKit Bug Importer 2018-11-06 15:26:33 PST
<rdar://problem/45858398>