vmware / vmware/pyvmomi

Encoding issue with PoolResource?

Open
#473 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs verification
Dominant language
Python
Stars
2.3k
Forks
763
PR merge metrics
No merged PRs in 30d

Description

Hi,

When looking for a PoolResource by name, it appears that some characters are URL-encoded.

The PoolResource's name is DEV/TEST, but it appears in pyvmomi as DEV%2fTEST

I think there is some wring escaping happening there!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the PoolResource-by-name lookup and the pyvmomi serialization or escaping path that turns DEV/TEST into DEV%2fTEST. Reproduce the lookup with that name, then verify that the returned resource name remains correctly represented without unintended URL encoding.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.