RSS Feed fails if email address contains a -

Hi guys,

The RSS Feeds fail if the email address contains a - in the domain

I have fixed this in my install by updating line 302 of
coldbox/system/web/feeds/SharedGenerator.cfc

to have the regex:

^(\w+.)\w+@((((\d{1,2})|(1\d{2})|(2[0-4]\d)|(25[0-5])).){3}((\d{1,2})|(1\d{2})|(2[0-4]\d)|(25[0-5]))|([\w-]+.)+[A-Za-z]+)( (.))?$

The change I made in bold, I replaced the \w+ with [\w-]+

I don’t have the code checked out to request a pull request so hoping someone else could do this :slight_smile:

Cheers

I will take care of this. Thanks.

Thanks finalized.

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057
Direct: (909) 248-3408

ColdBox Platform: http://www.coldbox.org

ContentBox Platform: http://www.gocontentbox.org
Linked In: http://www.linkedin.com/pub/3/731/483

Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox