postgres-operator icon indicating copy to clipboard operation
postgres-operator copied to clipboard

Special characters not getting filtered properly in pgo client...

Open flamingdumpster opened this issue 7 years ago • 1 comments

Describe the bug Special characters specified on the pgo command line cause an error when the message is sent to the operator api.

To Reproduce

pgo show backup ? Error: Invalid Status Code: 404

Expected behavior The client should tell the user that either '?' is an invalid cluster name or the cluster does not exist, but not a 404 error.

Please tell us about your environment:

  • Operating System: OS X (mac pgo client)
  • Where is this running ( Local, Cloud Provider): Local
  • Storage being used (NFS, Hostpath, Gluster, etc): "fast" storageclass
  • Container Image Tag: development code branch
  • PostgreSQL Version: 10
  • Platform (Docker, Kubernetes, OpenShift): Kubes
  • Platform Version: 1.12

Additional context Issue possibly exists with other commands as well when special characters are not properly handled.

flamingdumpster avatar Dec 20 '18 15:12 flamingdumpster

moving to clubhouse 3.6 for tasking.

jmccormick2001 avatar Jan 12 '19 17:01 jmccormick2001