Skip to content

ClearURLs breaks file uploads on iCloud Drive. #315

Description

@Skyzenfr

Bug report

Environment

  • OS: Windows 11
  • Browser: Firefox 152.0
  • Browser: Zen Browser 1.21.8b (Firefox 152 based)
  • ClearURLs version: 1.27.3

Description

ClearURLs breaks file uploads on iCloud Drive.

When uploading any file to https://www.icloud.com/iclouddrive, the upload reaches 100%, then fails with the message:

"Unable to upload"

The issue is fully reproducible.

The exact same upload works immediately after disabling ClearURLs.

The issue occurs on:

  • Firefox
  • Zen Browser (Firefox-based)

It does not occur on Brave (same computer, same Windows installation, same network, same Apple account).

Browser console

Error: WireDriveLookupByPathResponse: 404 Not Found

Network request

The upload request is sent to:

POST https://cws.icloud-content.com/.../singleFileUpload

and Apple responds with:

HTTP/2 400 Bad Request

Disabling ClearURLs immediately fixes the problem.

Expected behavior

ClearURLs should not modify or remove security parameters required by iCloud Drive upload requests.

It may need to ignore requests to:

  • icloud.com
  • icloud-content.com
  • apple-cloudkit.com

or avoid filtering the singleFileUpload endpoint.

I can consistently reproduce this issue 100% of the time and can provide additional console logs, network traces (HAR), or any other information if needed.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions