Forum Discussion
Amine_373499
Nimbostratus
Dec 10, 2018ASM - Allow Emails form in URL using REGEX
Hey to everyone
i'm having a hard time to find a way to allow URL that contain a E-mail forme , ASM stop it because it 's taken as an Illegal File type ( .ma , .fr , .com or even .ac.fr ) , so wha...
JG
Cumulonimbus
Dec 10, 2018Here's the regex pattern you could use:
^\/user\/([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})(\/.*)?$
.
Mind you, the use of regex is resource intensive.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
