Good point.

Thanks,
-Jeff

On Tue, Jan 2, 2018 at 12:44 PM, Ray Bon <r...@uvic.ca> wrote:

> Jeff,
>
> I would suggest you include the trailing slash as optional to avoid
> someone poking at your system with a service like
> https://my.service.education <https://my.service.education.>
>
> ^https?://my.service.edu(/?|/.*)$
>
> Ray
>
> On Tue, 2018-01-02 at 07:15 -0500, Jeffrey Ramsay wrote:
>
> Andy,
>
>
>
> Thanks for the update and after using the validation link you provided, I
> believe the following will work for both service links.
>
>
>
> ^https?://my.service.edu.*$
>
>
>
> Thanks,
>
> -Jeff
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
> *From: *Andy Ng <long...@gmail.com>
> *Sent: *Tuesday, January 2, 2018 2:09 AM
> *To: *CAS Community <cas-user@apereo.org>
> *Subject: *[cas-user] Re: CAS 5.x - regular expressions
>
>
>
> Hi Jeff,
>
>
>
> Would like to know what exactly you want to catch using regex for the two
> links?  (Maybe give some example?)
>
>
>
> The first link you provided, when translate to regex only matches
> something like these:
> https://my.service.edu, http://my.service.edu///////////////
> ////////////////////
>
>
>
> Which, I think maybe is not what you wanted.
>
>
>
>
>
> In any case, If your two links are valid, see if the below fit your needs:
>
> (https?://my.service.edu/.*)|(https?://my.service.edu/*
> <http://my.service.edu/.*)%7C(https?://my.service.edu/*>)
>
>
>
> Or maybe even this:
> https?://my.service.edu((/.*)|(/*))
>
>
>
>
>
> If you want to test Regex (the links pattern you using) without worrying
> it will broke your production setup, you can always go to site like
> http://jsregex.com/, then fine tune your link pattern until it is correct
> before deploying them to production.
>
>
>
> cheers
>
> - Andy
>
> On Wednesday, 27 December 2017 21:45:41 UTC+8, Jeffrey Ramsay wrote:
>
> All -
>
> I went live with CAS 5.1.7 in production and ran into a problem that was
> not reported in test. I have a site which requires me to use both star and
> dot star allowances so, I defined two service entries however, I think I
> should be able to combine these but have not been successful.
>
>
>
> How can I combine these links? (.|.*) did not work and I'm not sure what
> effect escaping the dots will have. Since this is production, I can
> experiment as much as I would like.
>
>
>
> https?://my.service.edu/*
>
> https?://my.service.edu/.*
>
> Thanks,
>
> -Jeff
>
> --
> - 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 cas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/78814056-a9fa-4537-8ec5-
> 9d59f5f74b62%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/78814056-a9fa-4537-8ec5-9d59f5f74b62%40apereo.org?utm_medium=email&utm_source=footer>
> .
>
>
>
> --
> Ray Bon
> Programmer analyst
> Development Services, University Systems2507218831 <(250)%20721-8831> | CLE 
> 019 | r...@uvic.ca
>
> --
> - 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 cas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/1514915084.4183.14.camel%40uvic.ca
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/1514915084.4183.14.camel%40uvic.ca?utm_medium=email&utm_source=footer>
> .
>

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2BTBYOR_QiR9tzLvS1RqJa3tPHWYrQmsbnjatbUHQcSY%2BWR-4g%40mail.gmail.com.

Reply via email to