Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

DCKC90

Members
  • Joined

  • Last visited

Everything posted by DCKC90

  1. Title: Calculate Occupied Space fails on directory names containing ampersands (&) – Unraid 7.4.1 I'm experiencing an issue with the Calculate Occupied Space feature in Dynamix File Manager on Unraid 7.4.1. Reproduction: My directory structure is: /mnt/user/Media/Specials & Documentaries/Documentaries When calculating occupied space: The parent Media directory calculates correctly. Specials & Documentaries returns 0 bytes, 0 folders and 0 files, despite containing data. Specials & Documentaries/Documentaries produces an HTTP 500 error. PHP error: TypeError: Unsupported operand types: string - int In /usr/local/emhttp/plugins/dynamix/include/Control.php, line 114: $files -= $dirs; Investigation: The JavaScript in Browse.page passes the path through: encodeURIComponent(dfm_htmlspecialchars(source)) The dfm_htmlspecialchars() function converts & into &. The PHP handler subsequently uses rawurldecode() but does not decode HTML entities before attempting to resolve the filesystem path. I independently tested both paths using PHP: The path containing & fails realpath() and file_exists(). The original path containing & resolves successfully. This appears to cause the subsequent rsync command to receive an invalid path, resulting in missing statistics and the PHP arithmetic error. Suggested investigation: Ensure the original filesystem path is preserved when submitting the calculation request, and validate the rsync output before performing arithmetic. No filesystem changes or permission changes have been made. The issue is reproducible on my installation.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.