| Age | Commit message (Collapse) | Author | Files | Lines |
|
fix: normalize Windows backslash paths in file uploads
When uploading files from a Windows client to a Linux server,
file paths containing backslashes were not being properly interpreted as
directory separators. This caused files intended for subdirectories to be
created in the root directory with backslashes in their filenames.
Changes:
- Add util.CleanWindowsPath and util.CleanWindowsPathBase helper functions
in weed/util/fullpath.go for reusable path normalization
- Use path.Join/path.Clean/path.Base instead of filepath equivalents
for URL path semantics (filepath is OS-specific)
- Apply normalization in weed admin handlers and filer upload parsing
Fixes #7628
|
|
* read directory object
* address comments
* address comments
* name should not have "/" prefix
* fix compilation
* refactor
|
|
* fix: disallow file name too long when writing a file
* bool LongerName to MaxFilenameLength
---------
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this is just an in memory representation.
POSIX wants different inode numbers for the same named file or directory.
|
|
|
|
fix https://github.com/chrislusf/seaweedfs/issues/1493
|
|
|
|
|
|
|
|
|
|
|