cloudfoundry/vcap — pull request #159 by hamakn (2012-01-01 08:02:04+00:00)
Title: Add service name uri validation in cloud_controller

Once create a service that name has a invalid uri, we cannot delete the service.

$ vmc create-service redis "[test]"
Creating Service: OK

$ vmc delete-service "[test]"
Deleting service test: Cannot access target (bad URI: http://api.cloudfoundry.com/services/[test])

This patch fix the problem to validate service name uri before provisioning.