Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

Commit c4017e7

Browse files
authored
Fix query filter URL encoding (#646)
If the query filter has spaces, it is getting endoded twice as %2520 instead of %20. Because of this vCloud returns empty query result. Removing encoding from _AbstractQuery constructor, _build_query_uri() is already encoding the query filter string.
1 parent e22881e commit c4017e7

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

AUTHORS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ Jeff Blaine <jblaine@kickflop.net>
2525
Jeff Mace <jmace@vmware.com>
2626
Jiri Tyr <jiri.tyr@gmail.com>
2727
Kaneda-fr <sebastien@lacoste-seris.net>
28+
Kiril Traykov <46561844+kiril-traykov@users.noreply.github.com>
2829
Konstantin Ilyashenko <konstantin@gigaspaces.com>
2930
Kostya <konstantin@gigaspaces.com>
31+
Ludovic Rivallain <lrivallain@users.noreply.github.com>
3032
Michal Taratuta <MichalTaratuta@users.noreply.github.com>
3133
Mike <Mikhail@gigaspaces.com>
3234
Mykhailo Durnosvystov <Mikhail@gigaspaces.com>
@@ -50,6 +52,7 @@ Stephen Evanchik <evanchik@vmware.com>
5052
Suthan <suthan.venkataramana@rackspace.com>
5153
Szimszon <github@oregpreshaz.eu>
5254
Yuya Kusakabe <yuya.kusakabe@gmail.com>
55+
aharlaut <30958830+aharlaut@users.noreply.github.com>
5356
anusuyaceg <anusuya.ceg@gmail.com>
5457
anusuyar <32779454+anusuyar@users.noreply.github.com>
5558
anusuyar <arangasamy@vmware.com>
@@ -64,6 +67,7 @@ kostya13 <konstantin@gigaspaces.com>
6467
kousgy123 <44152564+kousgy123@users.noreply.github.com>
6568
lasko <lasko@nastyninja.net>
6669
malakars <malakars@vmware.com>
70+
not4mad <48958209+not4mad@users.noreply.github.com>
6771
pandeys <pandeys@vmware.com>
6872
rajeshk2013 <43401283+rajeshk2013@users.noreply.github.com>
6973
reversecipher <reversecipher@gmail.com>

ChangeLog

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
CHANGES
22
=======
33

4+
* Add a client with model bindings for REST API and CloudAPI (#645)
5+
* fixing bug where only one disk is listed even if there are more (#644)
6+
7+
22.0.0
8+
------
9+
10+
* Adding supported API versions in README (#641)
11+
* [VCDA 1336, 1337, 1338, 1339] - Added support for vCD JWT token in pyvcloud (#637)
12+
* [VCDA-1333] Adding support for VMSizingPolicy while dealing with compute policies on VMs (#636)
13+
* fix-bug-page-size (#629)
14+
* Fix #630 list\_rights\_available\_in\_system (#631)
15+
* VP-3104 (#623)
16+
* there is bug releated to: vcd-cli issue 497
17+
* Updating AUTHORS and ChangeLog in pyvcloud github
18+
419
21.0.0
520
------
621

pyvcloud/vcd/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1810,7 +1810,7 @@ def __init__(self,
18101810
self._filter = ''
18111811
self._filter += equality_filter[0]
18121812
self._filter += '=='
1813-
self._filter += urllib.parse.quote(equality_filter[1])
1813+
self._filter += equality_filter[1]
18141814

18151815
self._sort_desc = sort_desc
18161816
self._sort_asc = sort_asc

0 commit comments

Comments
 (0)