RE: [OT] RE: Baked-in context paths

2013-11-26 Thread Konstantin Preißer
Hi Christopher, > -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Monday, November 18, 2013 7:28 PM > To: Tomcat Users List > Subject: Re: [OT] RE: Baked-in context paths > > Should I report this problem somewhere, e.g

Re: [OT] RE: Baked-in context paths

2013-11-18 Thread Christopher Schultz
rs List' Subject: RE: [OT] RE: Baked-in >> context paths >> >> Hi Jeffrey, >> >>> -Original Message- From: Jeffrey Janner >>> [mailto:jeffrey.jan...@polydyne.com] Sent: Wednesday, November >>> 13, 2013 5:14 PM To: 'Tomcat Users

RE: [OT] RE: Baked-in context paths

2013-11-18 Thread Konstantin Preißer
Hi, > -Original Message- > From: Konstantin Preißer [mailto:kpreis...@apache.org] > Sent: Wednesday, November 13, 2013 6:14 PM > To: 'Tomcat Users List' > Subject: RE: [OT] RE: Baked-in context paths > > Hi Jeffrey, > > > -Origin

RE: [OT] RE: Baked-in context paths

2013-11-13 Thread Konstantin Preißer
Hi Jeffrey, > -Original Message- > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Sent: Wednesday, November 13, 2013 5:14 PM > To: 'Tomcat Users List' > Subject: RE: [OT] RE: Baked-in context paths > > The thing is, the garbage characters at t

RE: [OT] RE: Baked-in context paths

2013-11-13 Thread Jeffrey Janner
> -Original Message- > From: Konstantin Preißer [mailto:kpreis...@apache.org] > Sent: Wednesday, November 13, 2013 7:17 AM > To: 'Tomcat Users List' > Subject: RE: [OT] RE: Baked-in context paths > > > -Original Message- > > From: Konstan

RE: [OT] RE: Baked-in context paths

2013-11-13 Thread Konstantin Preißer
> -Original Message- > From: Konstantin Preißer [mailto:kpreis...@apache.org] > Sent: Tuesday, November 12, 2013 8:09 PM > To: 'Tomcat Users List' > Subject: RE: [OT] RE: Baked-in context paths > > Hi Jeffrey, > > > -Original Message- >

RE: [OT] RE: Baked-in context paths

2013-11-12 Thread Konstantin Preißer
Hi Jeffrey, > -Original Message- > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Sent: Tuesday, November 12, 2013 4:22 PM > To: 'Tomcat Users List' > Subject: RE: [OT] RE: Baked-in context paths > I'm also using Outlook, but for me it only

RE: [OT] RE: Baked-in context paths

2013-11-12 Thread Jeffrey Janner
> -Original Message- > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Sent: Monday, November 11, 2013 9:55 AM > To: 'Tomcat Users List' > Subject: RE: [OT] RE: Baked-in context paths > > > -Original Message- > &

RE: [OT] RE: Baked-in context paths

2013-11-11 Thread Jeffrey Janner
> -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Thursday, November 07, 2013 10:07 AM > To: Tomcat Users List > Subject: Re: [OT] RE: Baked-in context paths > > > Jeff, > > On 11/7/13, 10:17 AM, Jeffrey Ja

Re: Baked-in context paths

2013-11-07 Thread Milo Hyson
On Nov 7, 2013, at 1:24 PM, Christopher Schultz wrote: > But nobody in their right mind uses > "../../../.." to get to the context-path (which, by definition is > relative to the host)... instead they use request.getContextPath() and > then tack-on a context-relative link to the end of it. You

Re: Baked-in context paths

2013-11-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Milo, On 11/7/13, 2:46 PM, Milo Hyson wrote: > On Nov 7, 2013, at 7:57 AM, Christopher Schultz > wrote: > >> The only way to reliably mutate context-paths during proxying is >> to re-write the headers and content of the pages. It's >> miserable. >

Re: Baked-in context paths

2013-11-07 Thread Milo Hyson
On Nov 7, 2013, at 7:59 AM, Christopher Schultz wrote: > What I'm saying is that from a practical point of view, when writing > dynamic web applications, context-relative links are always the way to go. > > I'm not sure how much more I can say on this topic and nobody else > seems to care so I'

Re: Baked-in context paths

2013-11-07 Thread Milo Hyson
On Nov 7, 2013, at 7:57 AM, Christopher Schultz wrote: > The only way to reliably mutate context-paths during proxying is to > re-write the headers and content of the pages. It's miserable. Perhaps YOUR experiences have been miserable, but clearly that's not the case for everyone. The only hea

Re: [OT] RE: Baked-in context paths

2013-11-07 Thread Christopher Schultz
[OT] RE: Baked-in >> context paths >> >>> -Original Message- From: Leo Donahue - OETX >>> [mailto:leodona...@mail.maricopa.gov] Subject: RE: Baked-in >>> context paths >>> >>> >>> B�K

Re: Baked-in context paths

2013-11-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 11/6/13, 6:06 PM, Leo Donahue - OETX wrote: >> From: Leo Donahue - OETX [mailto:leodona...@mail.maricopa.gov] >> Subject: RE: Baked-in context paths >> >> >> I'm not convinced relative links are bad, no

Re: Baked-in context paths

2013-11-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Milo, On 11/6/13, 5:22 PM, Milo Hyson wrote: > I wasn't trying to "play games," I was trying to route HTTP > requests. Again, this is something I have done, without incident, > for many years. It's possible I've just been lucky, but it's also > poss

RE: [OT] RE: Baked-in context paths

2013-11-07 Thread Jeffrey Janner
> -Original Message- > From: Leo Donahue - OETX [mailto:leodona...@mail.maricopa.gov] > Sent: Wednesday, November 06, 2013 4:29 PM > To: Tomcat Users List > Subject: [OT] RE: Baked-in context paths > > >-Original Message- > >From: Leo

RE: Baked-in context paths

2013-11-06 Thread Leo Donahue - OETX
>From: Leo Donahue - OETX [mailto:leodona...@mail.maricopa.gov] >Subject: RE: Baked-in context paths > > >I'm not convinced relative links are bad, nor that one should not try to use >them because they are easy to get wrong. > From the spec: http://www.ietf.org/rfc/r

[OT] RE: Baked-in context paths

2013-11-06 Thread Leo Donahue - OETX
>-Original Message- >From: Leo Donahue - OETX [mailto:leodona...@mail.maricopa.gov] >Subject: RE: Baked-in context paths > > >B�KK >KKCB��[��X��ܚX�KK[XZ[ > >�\�\��][��X��ܚX�P�X�] >�\X�

Re: Baked-in context paths

2013-11-06 Thread Milo Hyson
I wasn't trying to "play games," I was trying to route HTTP requests. Again, this is something I have done, without incident, for many years. It's possible I've just been lucky, but it's also possible this isn't as big of a deal as you seem to think. I often employ common header content as you

RE: Baked-in context paths

2013-11-06 Thread Leo Donahue - OETX
>-Original Message- >From: Christopher Schultz [mailto:ch...@christopherschultz.net] >Subject: Re: Baked-in context paths > >I'm arguing from a welf-contained web-app standpoint ... in order to get into >trouble with relative links. Right. And I thought th

Re: Baked-in context paths

2013-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Milo, On 11/6/13, 1:48 PM, Milo Hyson wrote: > On Nov 5, 2013, at 10:49 AM, Christopher Schultz > wrote: > >> Any time dynamic content is generated, there exists a great deal >> of risk that relative URLs will make page links fail (that is, >> you

Re: Baked-in context paths

2013-11-06 Thread Milo Hyson
So basically you're saying it's not that relative links are bad per se, it's just that in some cases they can be tricky to get right? - Milo Hyson Chief Scientist CyberLife Labs, Inc. On Nov 5, 2013, at 10:49 AM, Christopher Schultz wrote: > Any time dynamic > content is generated, there exis

Re: Baked-in context paths

2013-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 11/5/13, 4:35 PM, Leo Donahue - OETX wrote: >> -Original Message- From: Leo Donahue - OETX >> [mailto:leodona...@mail.maricopa.gov] Subject: RE: Baked-in >> context paths >> > > I will concede there a

RE: Baked-in context paths

2013-11-05 Thread Leo Donahue - OETX
>-Original Message- >From: Leo Donahue - OETX [mailto:leodona...@mail.maricopa.gov] >Subject: RE: Baked-in context paths > I will concede there are issues even in this example. Such as the reference to the /plannet/PlanNetGuide.pdf in the side_nav_left.xhtml of the op

RE: Baked-in context paths

2013-11-05 Thread Leo Donahue - OETX
>-Original Message- >From: Christopher Schultz [mailto:ch...@christopherschultz.net] >Subject: Re: Baked-in context paths > >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >Leo, > >> >I think it's worth pointing-out that the original discussio

Re: Baked-in context paths

2013-11-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 11/5/13, 2:23 PM, Leo Donahue - OETX wrote: >> -Original Message- From: Milo Hyson >> [mailto:m...@cyberlifelabs.com] Subject: Baked-in context paths >> >> As suggested, I'm bringing this issu

RE: Baked-in context paths

2013-11-05 Thread Leo Donahue - OETX
>-Original Message- >From: Milo Hyson [mailto:m...@cyberlifelabs.com] >Subject: Baked-in context paths > >As suggested, I'm bringing this issue to the list so that I might understand >the >thinking behind an argued best practice. In >https://issues.apache

Re: Baked-in context paths

2013-11-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Milo, On 11/5/13, 1:35 PM, Milo Hyson wrote: > As suggested, I'm bringing this issue to the list so that I might > understand the thinking behind an argued best practice. In > https://issues.apache.org/bugzilla/show_bug.cgi?id=55734 it is > said t

Baked-in context paths

2013-11-05 Thread Milo Hyson
As suggested, I'm bringing this issue to the list so that I might understand the thinking behind an argued best practice. In https://issues.apache.org/bugzilla/show_bug.cgi?id=55734 it is said that the correct way for a Tomcat application to construct internally-referencing URLs is to include t