Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ValidString (0.31 sec)

  1. internal/event/config.go

    	for _, segment := range strings.Split(value, "/") {
    		if segment == "." || segment == ".." {
    			return &ErrInvalidFilterValue{value}
    		}
    	}
    
    	if len(value) <= 1024 && utf8.ValidString(value) && !strings.Contains(value, `\`) {
    		return nil
    	}
    
    	return &ErrInvalidFilterValue{value}
    }
    
    // FilterRule - represents elements inside <FilterRule>...</FilterRule>
    type FilterRule struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  2. cmd/object-api-utils.go

    // Its valid to have a empty prefix.
    func IsValidObjectPrefix(object string) bool {
    	if hasBadPathComponent(object) {
    		return false
    	}
    	if !utf8.ValidString(object) {
    		return false
    	}
    	if strings.Contains(object, `//`) {
    		return false
    	}
    	// This is valid for AWS S3 but it will never
    	// work with file systems, we will reject here
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  3. api/go1.txt

    pkg unicode/utf8, func RuneCountInString(string) int
    pkg unicode/utf8, func RuneLen(int32) int
    pkg unicode/utf8, func RuneStart(uint8) bool
    pkg unicode/utf8, func Valid([]uint8) bool
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top