]> git.proxmox.com Git - pve-manager.git/commit - spice-example-sh
doc: spice-example-sh: fix ticket/csrf extraction
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 25 Sep 2017 08:56:02 +0000 (10:56 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 5 Oct 2017 11:57:27 +0000 (13:57 +0200)
commit52a450d619b4f6e5034ad7efdfb02717850b01b9
treecc085a80dd16e4f8f43a4aafc09e94b6e4a0608c
parentbe4c6ad68830956358d1d011021403d56c087790
doc: spice-example-sh: fix ticket/csrf extraction

We extract them from the json data by first deleting all
quotes, then deleting everything up to their entries, then
everything after the next comma. If the entry is at the end
there's no comma, instead there are closing braces, so we
need to strip away these as well.
spice-example-sh