Project

General

Profile

Actions

User story #5879

closed

User story #5809: Report metrics

Metrics script: Pass options to curl to ensure that it follows redirects and POSTs content anyway

Added by Jonathan CLARKE about 10 years ago. Updated over 9 years ago.

Status:
Released
Priority:
2
Assignee:
Matthieu CERDA
Category:
System integration
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

By default, curl will not follow redirects, and even when told to with -L, it will replace a POST request by a GET request.

This is not what we want, since we want to be able to POST to a well-known URL, then adapt handling of the request to get it to wherever we actually want it.

Therefore, we want to add options -L --post301 --post302 to the curl call in the anonymous metrics script from #5809.

Actions #1

Updated by Jonathan CLARKE about 10 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Jonathan CLARKE to Matthieu CERDA
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/545
Actions #2

Updated by Jonathan CLARKE about 10 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Applied in changeset packages:rudder-packages|commit:39a4a2a3a491e91067d03a54ba8d83cd1dfbf164.

Actions #3

Updated by Matthieu CERDA about 10 years ago

Applied in changeset packages:rudder-packages|commit:f9e9400ea64a04906d62c222483c7275f26bf708.

Actions #4

Updated by Vincent MEMBRÉ about 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.0.0~beta1 which was release on 01/12/2014.

Actions #5

Updated by Benoît PECCATTE over 9 years ago

  • Tracker changed from 6 to User story
Actions

Also available in: Atom PDF