Skip to content

[BUG] divide可能导致请求的query参数的"+"号丢失 #5018

@wdvaini

Description

@wdvaini

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

之前反馈过,被关闭了
#4947
补充了些信息
希望能再看看。

Expected Behavior

参数里有%2B的同时还有%3D,时就会出现这个问题。

如:
curl --location --request POST 'http://localhost:8080/test?p=a%2Bb%3D'
--data ''

实际divide转发的请求变为了
http://domain.com/test?p=a%20b%3D

image

Steps To Reproduce

No response

Environment

ShenYu version(s):2.5.1

Debug logs

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions