Skip to content

Progress Listener can't listen to url with "/" query #67

@JosephSanjaya

Description

@JosephSanjaya

Problem

Progress Listener cannot listen to request with query that contains "/", because mResponseListeners Hashmap failed to detect item, when requested "/" change into "%2F", so containsKey(key) will return false

ex.

https://localhost/v3.1?type_file=pdf&start_date=2022/01/07&end_date=2022/02/06

the start_date and end_date will cause Problem.

Already Done

I've already tried to replace "/" before request with "%2F" but it reversed now in the HashMap key it has "/" but the checked key contains "%2F", so it still return false.

Potential Problem

Please check on ProgressManager.java on line 259

Potential Fix

Implement more complex search algorithm for checking key, or custom check on HashMap key.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions