Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/url cleanner #568

Merged
merged 17 commits into from
Dec 18, 2020
Merged

Feature/url cleanner #568

merged 17 commits into from
Dec 18, 2020

Conversation

MiniPlayer
Copy link
Contributor

@MiniPlayer MiniPlayer commented Dec 3, 2020

Added URLCleaner, see issue #567 .

In addition to those changes, I cleaned up the URLDecoder by removing unused properties. And adding error in record when the parsing fails (log in an error as well in logs). I changed the log level from WARN to ERROR, maybe this could be an issue (log spamming) ? Tell me if this is the case.

I also added a URIDecoder processor that decode an URI using the java.net.URI.
But the string being decoded must be a correctly formed URI (so not already decoded for exemple as it may result in illegal characters).

…it decode the query params values. If we want to use URIBuilder we should use it at the same time we decode the URI.
…uery ti be between the first question mark '?' and then ended by the first number sign '#'. The query params are considered to be separated by '&' and their name and value by '='.
…bugs. Added asChar method to PropertyValue. Added parameter to choose separator for parameters in query part of the uri.
@MiniPlayer MiniPlayer requested a review from jerome73 December 3, 2020 14:49
@MiniPlayer MiniPlayer merged commit 254c82c into release/v1.4.0 Dec 18, 2020
@MiniPlayer MiniPlayer deleted the feature/UrlCleanner branch December 18, 2020 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant