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

[apps] Fixed URI decoding in UriParser #3041

Merged

Conversation

ethouris
Copy link
Collaborator

@ethouris ethouris commented Oct 7, 2024

The uri_decode function wasn't interpreting the % sequence properly if the value was 00 and stopped on the first error.

The fix:

  • %00 is properly interpreted as a NUL character
  • If the % coding syntax is erroneous, the % character is shipped as is and parsing continues since the next character

@maxsharabayko maxsharabayko added this to the v1.5.4 milestone Oct 8, 2024
@maxsharabayko maxsharabayko added Type: Bug Indicates an unexpected problem or unintended behavior [core] Area: Changes in SRT library core [apps] Area: Test applications related improvements and removed [core] Area: Changes in SRT library core labels Oct 8, 2024
@maxsharabayko maxsharabayko merged commit 8f6fd4e into Haivision:master Oct 8, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[apps] Area: Test applications related improvements Type: Bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants