Project

General

Custom queries

Profile

Actions

Bug #3880

closed

headers passed into api should be cloned before modified

Added by Thomas McKay over 11 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

The headers passed into api calls such as index(), create(), etc. take two args, params and headers. The headers passed in are modified during the api call to include the params which lead to errors in my program. We should clone the the hash before modifying it to avoid this potentially confusing behavior to the consumer of the api.

#1

Updated by Dominic Cleal over 11 years ago

  • Status changed from New to Need more information
#3

Updated by Dominic Cleal over 11 years ago

  • Category changed from API to 65
  • Status changed from Need more information to Assigned
  • Assignee set to Martin Bacovsky
#4

Updated by Tomer Brisker over 10 years ago

  • Status changed from Assigned to New
#5

Updated by Tomer Brisker over 6 years ago

  • Category changed from 65 to API
#6

Updated by Leos Stejskal almost 4 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF