[JBoss JIRA] (MODCLUSTER-473) Describe Context#getPath contract when dealing with the root context
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-473?page=com.atlassian.jira.pl... ]
Radoslav Husar updated MODCLUSTER-473:
--------------------------------------
Summary: Describe Context#getPath contract when dealing with the root context (was: Handle "" and "/" both representing the root context path)
> Describe Context#getPath contract when dealing with the root context
> --------------------------------------------------------------------
>
> Key: MODCLUSTER-473
> URL: https://issues.jboss.org/browse/MODCLUSTER-473
> Project: mod_cluster
> Issue Type: Bug
> Components: Core & Container Integration (Java)
> Affects Versions: 1.3.1.Final
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
>
> Tomcat used "" to represent root context path, yet with undertow, the path is represented as "/". This is not handled well by modcluster. The container SPI could encapsulate the details of how the root context is treated.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 3 months
[JBoss JIRA] (MODCLUSTER-473) Handle "" and "/" both representing the root context path
by Paul Ferraro (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-473?page=com.atlassian.jira.pl... ]
Paul Ferraro commented on MODCLUSTER-473:
-----------------------------------------
I think it's fine for mod_cluster to expect "" to represent the root context. It should be the responsibility of the container implementation to conform. Perhaps the Context.getPath() method needs better documentation?
> Handle "" and "/" both representing the root context path
> ---------------------------------------------------------
>
> Key: MODCLUSTER-473
> URL: https://issues.jboss.org/browse/MODCLUSTER-473
> Project: mod_cluster
> Issue Type: Bug
> Components: Core & Container Integration (Java)
> Affects Versions: 1.3.1.Final
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
>
> Tomcat used "" to represent root context path, yet with undertow, the path is represented as "/". This is not handled well by modcluster. The container SPI could encapsulate the details of how the root context is treated.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 3 months
[JBoss JIRA] (MODCLUSTER-473) Handle "" and "/" both representing the root context path
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-473?page=com.atlassian.jira.pl... ]
Radoslav Husar commented on MODCLUSTER-473:
-------------------------------------------
Also, if / is passed in for excluded contexts, it can be treated as ROOT rather than being translated into "//" internally.
> Handle "" and "/" both representing the root context path
> ---------------------------------------------------------
>
> Key: MODCLUSTER-473
> URL: https://issues.jboss.org/browse/MODCLUSTER-473
> Project: mod_cluster
> Issue Type: Bug
> Components: Core & Container Integration (Java)
> Affects Versions: 1.3.1.Final
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
>
> Tomcat used "" to represent root context path, yet with undertow, the path is represented as "/". This is not handled well by modcluster. The container SPI could encapsulate the details of how the root context is treated.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 3 months
[JBoss JIRA] (MODCLUSTER-473) Handle "" and "/" both representing the root context path
by Radoslav Husar (JIRA)
Radoslav Husar created MODCLUSTER-473:
-----------------------------------------
Summary: Handle "" and "/" both representing the root context path
Key: MODCLUSTER-473
URL: https://issues.jboss.org/browse/MODCLUSTER-473
Project: mod_cluster
Issue Type: Bug
Components: Core & Container Integration (Java)
Affects Versions: 1.3.1.Final
Reporter: Radoslav Husar
Assignee: Radoslav Husar
Tomcat used "" to represent root context path, yet with undertow, the path is represented as "/". This is not handled well by modcluster. The container SPI could encapsulate the details of how the root context is treated.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 3 months