Special characters in tags
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by reproducing the failing Tagreader request with tags such as "47#13-SULPH" and "50#12-5%REC", then compare the generated XML payload URL with the browser result. Done means tags containing # and % are encoded correctly and Tagreader returns the expected measurement values.
Written by the indexing model from the issue text.
Description
There are some problems when the tags contains special characters, e.g., # and %.
Especially for some manual sampling points, the system number is folled by # then the sample point number, and what was measured at the sample point, e.g. "47#13-SULPH". This I was able to solve by replacing "#" with "%23". This is maybe a fix you could implement in the base code?
But the real issue appear to be when the tag contains "%". For some measurements, a percentage recovery is stated, e.g. "50#12-5%REC". Here I can replace the #, but if I replace "%" with "%25", Tagreader does not return any values. If I paste the XML payload URL into by browser, I can get the output which Tagreader should have gotten.
- Dominant language
- Python
- Stars
- 55
- Forks
- 21
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 4
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from equinor/tagreader-python
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
equinor/tagreader-python#474 · 1 comment ·
-
Difficulty 2/5 Under an hour Newbie friendliness 55/100
equinor/tagreader-python#473 ·
-
Update documentation Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
equinor/tagreader-python#447 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
equinor/tagreader-python#393 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
equinor/tagreader-python#389 ·
All issues in equinor/tagreader-python
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100