GO-2024-2684 : CA17 TeamsACS Cross Site Scripting vulnerability in github.com/ca17/teamsacs
Discover Packages
github.com/ca17/teamsacs
common
validutil
package
Version:
v1.0.3
Opens a new window with list of versions in this module.
Published: May 17, 2024
License: LGPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func IsCnMobile(val interface{}) bool
Verify mobile phone numbers in China
func IsCnPhone(val interface{}) bool
Verify phone numbers in mainland China. The following formats are supported.
0578-12345678-1234
057812345678-1234
If an extension number exists, the extension number ligature cannot be omitted.
func IsEmail(val interface{}) bool
Verify that a value matches a mailbox.
func IsIP(val interface{}) bool
Verify that a value is an IP, verifies IP4 and IP6
func IsIP4(val interface{}) bool
Verify that a value is IP4.
func IsIP6(val interface{}) bool
Verify that a value is IP6
func IsInt(val interface{}) bool
func IsURL(val interface{}) bool
Verify that a value is in a standard URL format. Supports formats such as IP and domain name.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.