We have moved to Github. Please open tickets there.

Opened 3 years ago

Closed 3 years ago

#2602 closed Defect (duplicate)

a plugin hook should be triggered when an action token does not validate

Reported by: cash Owned by:
Priority: normal Milestone: Elgg 1.8.0
Component: Core Version: 1.7
Severity: minor Keywords:
Cc: brettp Difficulty: easy

Description

If I upload a file so large that the tokens are not received, I get a no token error rather than a file too large error. This is because action() checks the token first and does not know anything about what data is being uploaded. If there was a plugin hook, I could catch this and display a more appropriate message.

Change History (1)

comment:1 Changed 3 years ago by ewinslow

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.