apache / apache/jmeter

Embedded Resource link containing backslash encoded to %5C

Open
#6,433 0 comments 0 reactions 0 assignees View on GitHub
defect to-triage
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

### Expected behavior

If embedded resource URL contains backslash \ it should be converted automatically to forwardslash

### Actual behavior

Now, once the embedded resource URL contains backslash it is encoded to %5C, thus such a resource can't be downloaded.

![Image](https://github.com/user-attachments/assets/924ce135-f254-4ba8-a067-4de07d6fb156)

### Steps to reproduce the problem

1. Create a simple HTML file that contains one link to JS file
`


Test

This is HTML page

`

2. Request page with HTTP Request with checked "Retrieve All Embedded Resources"

![Image](https://github.com/user-attachments/assets/a5976592-6094-469e-a185-8c3841effc40)

### JMeter Version

5.6.3

### Java Version

openjdk version "11.0.9" 2020-10-20 LTS

### OS Version

Microsoft Windows [Version 10.0.17763.6893]

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.