Skip to content

Folder names with spaces cause full page reload when clicked #43

@maniaba

Description

@maniaba

Description

I noticed a problem when using the app with mail folders that contain spaces in their names.

Steps to reproduce

  1. Create a new mail folder (for example: Test Folder).
  2. Open the Roundcube integration inside Nextcloud.
  3. Click on the folder with a space in its name.

Expected behavior

The messages inside the selected folder should load without refreshing the entire page.

Actual behavior

When clicking on a folder that has a space in its name, the whole Nextcloud page refreshes.
This does not happen with folders that have names without spaces.

Environment

  • Nextcloud version: Nextcloud Hub 10 (31.0.9)
  • Roundcube version: 1.6.11
  • nextcloud-roundcube app version: 1.2.1
  • Browser: Google Chrome Version 140.0.7339.208 (Official Build) (64-bit)
  • OS: Windows 11

Additional notes

It seems like the space in the folder name is not being handled correctly when generating the link or request, which causes a full reload instead of just switching folders inside the iframe/app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions