Opened 3 years ago

Closed 3 years ago

#1487443 closed Bugs (fixed)

Invalid Request when creating a folder

Reported by: cstdenis Owned by:
Priority: 5 Milestone: 0.5-stable
Component: Core functionality Version: 0.4.2
Severity: normal Keywords:
Cc:

Description

When creating a folder it just hangs at "Creating folder..." eventually timing out. Firebug shows a 404 error and response "Invalid Request"

Keepalives on this page also have the same problem.

Looking at the request and the source of index.php it looks like the problem is the folder creation action isn't sending the X-Roundcube-Request header, causing an error from the CSRF prevention code.

I see 2 bugs in this.

  1. The missing header
  1. The fact that it doesn't handle errors very gracefully. There should be an error displayed as soon as the 404 is returned by the script rather than it hanging there until timeout.

Change History (5)

comment:1 Changed 3 years ago by alec

  • Milestone changed from later to 0.5-stable

This is fixed in my folder manager rewrite patchset. It will be committed soon.

comment:2 Changed 3 years ago by alec

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [af3c045e].

comment:3 Changed 3 years ago by cstdenis

Is there a smaller patchset available to just fix this specific issue (missing header)? It's not really feasible for me to upgrade to 0.5 beta at the moment to make use of this patch.

comment:4 Changed 3 years ago by cstdenis

  • Resolution fixed deleted
  • Status changed from closed to reopened

How to add the missing X-Roundcube-Request header to resolve this bug? I don't need the complete UI overhaul, just this major bug fixed.

comment:5 Changed 3 years ago by alec

  • Resolution set to fixed
  • Status changed from reopened to closed

Please, ask on mailing list not here.

Note: See TracTickets for help on using tickets.