Re: URL validation and capitals

2016-07-28 Thread Lukasz Lenart
2016-07-28 12:48 GMT+02:00 Greg Huber : > Ok, forgot about this one, WW-4671 > Me never forget ;-) > May be it would be easier to lowercase the url to start rather than change > the rather complex regex ? It's just a matter of using Pattern.CASE_I

Re: URL validation and capitals

2016-07-28 Thread Greg Huber
Ok, forgot about this one, WW-4671 May be it would be easier to lowercase the url to start rather than change the rather complex regex ? Cheers. On 28 July 2016 at 10:47, Lukasz Lenart wrote: > 2016-05-09 8:38 GMT+02:00 Greg Huber : > > A while

Re: URL validation and capitals

2016-07-28 Thread Lukasz Lenart
2016-05-09 8:38 GMT+02:00 Greg Huber : > A while back I though I read a fix on capitals on the url validator. It > now seems to be blacking them again. > > http://www.appache.org/TEST > > I do have some URL's with capitals so it might have worked at some time? Yeah, looks like the RegEx check is

Re: URL validation

2004-11-12 Thread Niall Pemberton
Url validation is part of Commons Validator rather than Struts so it might be more appropriate to raise it there. Also, this is subject to an outstanding bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=30686 Niall - Original Message - From: "David Bowers" <[EMAIL PROTECTED]> To:

Re: Url Validation Configuration Options

2004-04-15 Thread Niall Pemberton
n I was waiting to see if it got accepted before submitting any changes to struts. Niall - Original Message - From: "Robert Leland" <[EMAIL PROTECTED]> To: "Struts Developers List" <[EMAIL PROTECTED]> Sent: Thursday, April 15, 2004 3:38 AM Subject: Re: Url

Re: Url Validation Configuration Options

2004-04-15 Thread Niall Pemberton
I've submitted a new patch with your suggestion. Niall - Original Message - From: "David Graham" <[EMAIL PROTECTED]> To: "Struts Developers List" <[EMAIL PROTECTED]> Sent: Thursday, April 15, 2004 4:33 AM Subject: Re: Url Validation Configuration O

Re: Url Validation Configuration Options

2004-04-14 Thread David Graham
--- Ted Husted <[EMAIL PROTECTED]> wrote: > Any thoughts on this one? The patch looks reasonable to me although the conversion from List to String[] could be made simpler: String[] schemes = new String[schemeList.size()]; schemeList.toArray(schemes); instead of: String[] schemes = null; ... sc

Re: Url Validation Configuration Options

2004-04-14 Thread Robert Leland
Ted Husted wrote: Any thoughts on this one? http://issues.apache.org/bugzilla/show_bug.cgi?id=28148 "The current url validation in struts (validateUrl method in FieldChecks) only uses the default url configuration options. "I am attaching a patch that will allow the following options to be set

Re: URL validation

2004-04-02 Thread Adam Hardy
-Rob -Original Message- From: Richard Bywater [mailto:[EMAIL PROTECTED] Sent: Thursday, April 1, 2004 10:06 PM To: 'Struts Developers List' Subject: Re: URL validation If we're talking URLs aren't we looking at the wrong RFC? RFC1738 has this section: 3.3. HTTP Th

Re: URL validation

2004-04-01 Thread [EMAIL PROTECTED]
ter [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 1, 2004 10:06 PM > To: 'Struts Developers List' > Subject: Re: URL validation > > If we're talking URLs aren't we looking at the wrong RFC? RFC1738 has > this section: > > 3.3. HTTP > >

Re: URL validation

2004-04-01 Thread Richard Bywater
If we're talking URLs aren't we looking at the wrong RFC? RFC1738 has this section: 3.3. HTTP The HTTP URL scheme is used to designate Internet resources accessible using HTTP (HyperText Transfer Protocol). The HTTP protocol is specified elsewhere. This specification only describes the

Re: URL validation

2004-04-01 Thread Adam Hardy
IL PROTECTED]" <[EMAIL PROTECTED]> wrote: -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Subject: Re: URL validation On 03/15/2004 10:16 AM Adam Hardy wrote: On 03/13/2004 07:46 AM [EMAIL PROTECTED] wrote: From: Adam Hardy I provide URL validation on a page which

Re: URL validation

2004-04-01 Thread David Morris
lt;[EMAIL PROTECTED]> wrote: > > > -Original Message----- > > From: Adam Hardy [mailto:[EMAIL PROTECTED] > > Subject: Re: URL validation > > > > On 03/15/2004 10:16 AM Adam Hardy wrote: > > > On 03/13/2004 07:46 AM [EMAIL PROTECTED] wrot

Re: URL validation

2004-04-01 Thread David Graham
--- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > -Original Message- > > From: Adam Hardy [mailto:[EMAIL PROTECTED] > > Sent: Thursday, April 1, 2004 03:41 PM > > To: 'Struts Developers List' > > Subject: Re: URL v

Re: URL validation

2004-04-01 Thread steve . storey
> The way I read http://www.faqs.org/rfcs/rfc2396.html > section 3.3 > > I don't believe the path segment can legally end with a '/'. > Read the RFC and see what you think. > > So I don't believe http://www.google.com:80/?action=xyz > strictly speaking is valid, should we optionally allow for it >

Re: URL validation

2004-04-01 Thread [EMAIL PROTECTED]
> -Original Message- > From: Adam Hardy [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 1, 2004 03:41 PM > To: 'Struts Developers List' > Subject: Re: URL validation > > On 03/15/2004 10:16 AM Adam Hardy wrote: > > On 03/13/2004 07:46 AM [EMAIL PR

Re: URL validation

2004-04-01 Thread Adam Hardy
On 03/15/2004 10:16 AM Adam Hardy wrote: On 03/13/2004 07:46 AM [EMAIL PROTECTED] wrote: From: Adam Hardy I provide URL validation on a page which saves links for users. I put together the latest build of commons-validator (1.1.2) and struts (1.2) to see what the URL validation is like. The clas