QubitProducts / bamboo

HAProxy auto configuration and auto service discovery for Mesos Marathon
Apache License 2.0
794 stars 214 forks source link

URI encoded marathon application ids are double encoded #80

Closed lo1tuma closed 9 years ago

lo1tuma commented 9 years ago

The README about the REST API says that marathon application ids have to be URI encoded. The given examples in the documentation are actually double encoded. I’ve tried both, single encoded and double encoded marathon app ids, the REST API only works with double encoded ids.

  1. Example from documentdation: curl -i -X DELETE http://localhost:8000/api/services/%252Fapp-1
  2. Decoded: http://localhost:8000/api/services/%2Fapp-1
  3. Decoded again: http://localhost:8000/api/services//app-1
j1n6 commented 9 years ago

closed by #109