apache / apache/jmeter

JMeter 3.0 HTTP Request POST parameters are silently encoded

Open
#4,108 9 comments 0 reactions 0 assignees View on GitHub
os: All P2
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

@stubarlow ([Bug 60120](https://bz.apache.org/bugzilla//show_bug.cgi?id=60120&redirect=false)):
A HTTP Request configured to POST a parameter containing the @ symbol sees that parameter silently encoded. The @ symbol is incorrectly encoded as %40. This occurs whether I tick the 'Encode?' check box or not.

To demonstrate the issue I have attached a simple .jmx that should be executed against the following HTML.

<html><body>
<img alt="Captcha" class="captcha-image" width="100" height="50"
src="/IqGo6EM1JEVZ+MSRJqUSo@qhjVMSFBTs/37/0/1">
</img>
<input type="hidden" name="captchaCapiId" value="IqGo6EM1JEVZ+MSRJqUSo@qhjVMSFBTs">
</body></html>

Created attachment [test_plan.jmx](https://apache.github.io/jmeter-bugzilla-attachments/20/60120/34238/test_plan.jmx): Simple test plan with HTTP POST Request
test_plan.jmx

````xml




false
false







continue

false
1

1
1
1472721518000
1472721518000
false















true
6






localhost
8080




/test.html
GET
true
false
true
false
false





false

saveConfig


true
true
true
true
true
true
true
true
false
true
true
false
false
false
true
false
false
false
true
0
true
true
true






````

Severity: normal
OS: All

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.