We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Takuya Iwatsuka opened SPR-15786 and commented
UriUtils.extractFileExtension() returns incorrect result when meet both conditions shown below.
UriUtils.extractFileExtension("/xxx/yyy.json#aaa?bbb"); // => "json#aaa"
In addition, it might return extension-like string if the fragment contains "." before "?".
UriUtils.extractFileExtension("/xxx/yyy.json#aaa.xml?bbb"); // => "xml"
According to RFC 3986, both "." and "?" could be contained in path fragments. It is expected that the method handle these inputs correctly.
Affects: 4.3.9
Issue Links:
Referenced from: pull request #1480, and commits 40b4276, 13080f0
The text was updated successfully, but these errors were encountered:
Med Belamachi commented
I have created a pull request to fixe this issue. #1480
Sorry, something went wrong.
Juergen Hoeller commented
I've ended up resolving this in a slightly different implementation style but kept using your unit tests. Thanks for the pull request, in any case!
Yes I see,the idea still the same ;) Thanks for keeping my unit tests !
jhoeller
No branches or pull requests
Takuya Iwatsuka opened SPR-15786 and commented
UriUtils.extractFileExtension() returns incorrect result when meet both conditions shown below.
In addition, it might return extension-like string if the fragment contains "." before "?".
According to RFC 3986, both "." and "?" could be contained in path fragments.
It is expected that the method handle these inputs correctly.
Affects: 4.3.9
Issue Links:
Referenced from: pull request #1480, and commits 40b4276, 13080f0
The text was updated successfully, but these errors were encountered: