Skip to content

capitalization of the keys in querystring #7

Description

@khurramar

Adobe ColdFusion 10
default parameter EXCLUDE_FIELDS=_links was not working as it was being passed in capital letters. turning it into small letters exclude_fields=_links worked.

mailchimp.cfc
line: 325
original
response = listAppend(response, key & "=" & urlEncodedFormat(arguments.params[key]), "&");
changed
response = listAppend(response, lcase(key) & "=" & urlEncodedFormat(arguments.params[key]), "&");

Note: I am not yet fully aware of the mailchimp API as if it may need some parameters in mixed (lower/upper case) letters. In that case, this fix may lead to other issues as mailchimp API appears to be case sensitive.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions