- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ValidString (0.17 sec)
-
docs/debugging/inspect/decrypt-v2.go
if err := stream.Skip(); err != nil { return fmt.Errorf("stream skip: %w", err) } continue } return fmt.Errorf("next stream: %w", err) } if strings.Contains(stream.Name, "..") || !utf8.ValidString(stream.Name) { return fmt.Errorf("invalid stream name: %q", stream.Name) } dst := filepath.Join(extractDir, stream.Name) os.Mkdir(extractDir, 0o755) w, err := os.Create(dst) if err != nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Feb 17 17:09:42 UTC 2025 - 2.3K bytes - Viewed (0) -
internal/event/config.go
for segment := range strings.SplitSeq(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 {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.4K bytes - Viewed (0) -
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
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Jun 25 15:08:54 UTC 2025 - 37.3K bytes - Viewed (0) -
cmd/admin-handlers-users.go
if !exists && hasSpaceBE(accessKey) { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminResourceInvalidArgument), r.URL) return } if !utf8.ValidString(accessKey) { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAddUserValidUTF), r.URL) return } checkDenyOnly := accessKey == cred.AccessKey if !globalIAMSys.IsAllowed(policy.Args{
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 90.6K bytes - Viewed (0) -
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
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)