Erik,

Your regex is word characters followed by a '-' and then some digits. The file 
name has two '-'.
Get rid of the first one or use an '_'.

'-' are not word characters.

Ray

On Fri, 2019-06-14 at 18:21 +0000, 'Mallory, Erik' via CAS Community wrote:
Hello,
Just a few things I’ve noticed Under Logout there is a field labeled Logout URL 
it will not accept a hyphen (-)  I figure this is some sort of a bug.
Steps to produce error
Create or Edit Service
Click on Logout
Click on Logout URL
Input a  URL with a hyphen
Also putting a hyphen in the service name produces the following warning in the 
logs

2019-06-14 12:18:32,935 WARN 
[org.apereo.cas.services.resource.AbstractResourceBasedServiceRegistry] - 
[banapp-appdev-1560531595119.json] does not match the recommended pattern 
[(\w+)-(\d+)\.json]. While CAS tries to be forgiving as much as possible, it's 
recommended that you rename the file to match the requested pattern to avoid 
issues with duplicate service loading. Future CAS versions may try to strictly 
force the naming syntax, refusing to load the file.

Perhaps it would be better to not allow hyphenated names for services?

Thanks
Erik Mallory
Server Analyst
Wichita State University


--

Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | [email protected]<mailto:[email protected]>

I respectfully acknowledge that my place of work is located within the 
ancestral, traditional and unceded territory of the Songhees, Esquimalt and 
WSÁNEĆ Nations.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/1ad32b99d76c893f0c416e1954d7511374763cee.camel%40uvic.ca.

Reply via email to