Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IncNonDefault (0.11 sec)

  1. src/archive/zip/reader.go

    			}
    			// The zip specification states that names must use forward slashes,
    			// so consider any backslashes in the name insecure.
    			if !filepath.IsLocal(f.Name) || strings.Contains(f.Name, `\`) {
    				zipinsecurepath.IncNonDefault()
    				return ErrInsecurePath
    			}
    		}
    	}
    	return nil
    }
    
    // RegisterDecompressor registers or overrides a custom decompressor for a
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top