[Bug 55734] Manager using absolute URLs

2013-11-04 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55734 Konstantin Kolinko changed: What|Removed |Added Resolution|INVALID |WONTFIX Severity|no

[Bug 55734] Manager using absolute URLs

2013-11-04 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55734 --- Comment #12 from Milo Hyson --- (In reply to Christopher Schultz from comment #11) > I'm sorry for launching a discussion in BZ. This really belongs on the > users' list. I'd be happy to expand upon my assertions there. Please do. I'd

[Bug 55734] Manager using absolute URLs

2013-11-02 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55734 --- Comment #11 from Christopher Schultz --- (In reply to Milo Hyson from comment #10) > I came across that same article when I Googled the issue. The problem is it > seems to be describing generally bad practices that are not specific to t

[Bug 55734] Manager using absolute URLs

2013-11-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55734 --- Comment #10 from Milo Hyson --- I came across that same article when I Googled the issue. The problem is it seems to be describing generally bad practices that are not specific to the use of relative URLs. -- You are receiving this ma

[Bug 55734] Manager using absolute URLs

2013-11-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55734 --- Comment #9 from Chuck Caldarale --- (In reply to Milo Hyson from comment #8) > Maybe I've just been lucky, but I've been using relative links in > applications for years with no issue. Can you elaborate on these bad ways? Here's a star

[Bug 55734] Manager using absolute URLs

2013-11-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55734 --- Comment #8 from Milo Hyson --- (In reply to Christopher Schultz from comment #7) > Relative links fail in all sorts of bad ways ... Maybe I've just been lucky, but I've been using relative links in applications for years with no issue.

[Bug 55734] Manager using absolute URLs

2013-11-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55734 --- Comment #7 from Christopher Schultz --- (In reply to Milo Hyson from comment #4) > As a general rule, developers should NOT be using request.getContextPath() as > you suggest. I disagree. Relative links fail in all sorts of bad ways,

[Bug 55734] Manager using absolute URLs

2013-11-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55734 --- Comment #6 from Milo Hyson --- Cookies and redirects are easy with the directives provided by mod_proxy. At issue is HTML content. I see no reason why an application should, as a matter of general practice, bake the context-path into in

[Bug 55734] Manager using absolute URLs

2013-11-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55734 --- Comment #5 from Mark Thomas --- The Manager app is certainly not a model application in many respects but it does get the handling of the context path right. Consider session cookies. The application is required to set the cookie path.

[Bug 55734] Manager using absolute URLs

2013-11-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55734 --- Comment #4 from Milo Hyson --- Having reviewed the source I think I see the problem. As a general rule, developers should NOT be using request.getContextPath() as you suggest. That just binds application content to a deployment-time con

[Bug 55734] Manager using absolute URLs

2013-11-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55734 --- Comment #3 from Mark Thomas --- The developer is doing exactly what they should do - using request.getContextPath() to correctly construct the URL. The breakage occurs in the proxy because the proxy is changing the path and the applica

[Bug 55734] Manager using absolute URLs

2013-11-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55734 --- Comment #2 from Milo Hyson --- Why is it the admin's responsibility? The developer initiated the mess by making a faulty assumption. -- You are receiving this mail because: You are the assignee for the bug. --

[Bug 55734] Manager using absolute URLs

2013-11-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55734 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---