Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Decoding Error. two times called urlDecode in Parsing-impl.h. #17

Closed
Labels
bugSomething isn't working
@RQnet

Description

@RQnet

Describe the bug

if i use password with special charakters like "%&*%25%26" with WiFiManager_NINA_lite V1.6.1 the decoding of this password is wrong. I got just "%". I use "GET" with urlDecoded value request.

Steps to Reproduce

just send this password%&*%25%26 with WiFiManager_NINA_lite

Problem

urlDecode(.....) is called two times.
first in_parseRequest() ->urlDecode(...)
second in_parseRequest() ->_parseArguments(...) ->(void)_parseArgumentsPrivate(data, storeArgHandler()); ->urlDecode(...)

the first call is decoding and the second decoding is trimming at the "&".

Solution

replace this line
searchStr = urlDecode(url.substring(hasSearch + 1));

with that line
searchStr = url.substring(hasSearch + 1);

problem

solution

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp