[PR #23475] fix: resolve Windows path separator issue in Huawei OBS operations #30281

Closed
opened 2026-02-21 20:47:11 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/23475

State: closed
Merged: Yes


fix: resolve Windows path separator issue in Huawei OBS operations

  • Replaced OS-dependent path separators with universal '/' in file paths
  • Fixed Huawei OBS access failures in:
    • generate_key_pair()
    • get_decrypt_decoding()
  • Ensured cross-platform compatibility for Windows/Linux environments
  • Rigorously validated in production deployment (v1.8.3+)
  • Confirmed zero regression in file operations and key handling

This production-verified fix eliminates OBS access failures caused by Windows path separators while maintaining backward compatibility.

Fixes #23352

**Original Pull Request:** https://github.com/langgenius/dify/pull/23475 **State:** closed **Merged:** Yes --- fix: resolve Windows path separator issue in Huawei OBS operations - Replaced OS-dependent path separators with universal '/' in file paths - Fixed Huawei OBS access failures in: * generate_key_pair() * get_decrypt_decoding() - Ensured cross-platform compatibility for Windows/Linux environments - Rigorously validated in production deployment (v1.8.3+) - Confirmed zero regression in file operations and key handling This production-verified fix eliminates OBS access failures caused by Windows path separators while maintaining backward compatibility. Fixes #23352
yindo added the pull-request label 2026-02-21 20:47:11 -05:00
yindo closed this issue 2026-02-21 20:47:11 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#30281