You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Zhijie Shen (JIRA)" <ji...@apache.org> on 2014/09/07 02:35:28 UTC

[jira] [Comment Edited] (YARN-2512) Allow for origin pattern matching in cross origin filter

    [ https://issues.apache.org/jira/browse/YARN-2512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14124719#comment-14124719 ] 

Zhijie Shen edited comment on YARN-2512 at 9/7/14 12:35 AM:
------------------------------------------------------------

[~jeagles], I'm not sure it's safe to support wildcard in URL matching, because "*" seems to be a valid char for an URL. See [RFC 1738|http://www.ietf.org/rfc/rfc1738.txt].

Does listing all the sub-domains in the allowed origin list not fit for your use case?


was (Author: zjshen):
[~jeagles], I'm not sure it's safe to support wildcard in URL matching, because "*" seems to be a valid char for an URL. See [RFC 1738|http://www.ietf.org/rfc/rfc1738.txt].

> Allow for origin pattern matching in cross origin filter
> --------------------------------------------------------
>
>                 Key: YARN-2512
>                 URL: https://issues.apache.org/jira/browse/YARN-2512
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Jonathan Eagles
>            Assignee: Jonathan Eagles
>         Attachments: YARN-2512-v1.patch
>
>
> Extending the feature set of allowed origins. Now a "*" in a pattern indicates this allowed origin is a pattern and will be matched including multiple sub-domains.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)