-
Notifications
You must be signed in to change notification settings - Fork 564
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
ENCODE_FOR_URI bug? #2151
Labels
bug
Something isn't working
confirmation needed
The issue raises a potential bug that needs to be confirmed.
Comments
aucampia
added
bug
Something isn't working
confirmation needed
The issue raises a potential bug that needs to be confirmed.
labels
Mar 24, 2023
aucampia
added a commit
to aucampia/rdflib
that referenced
this issue
Mar 25, 2023
`ROUND` was not correctly rounding negative numbers towards positive infinity, `ENCODE_FOR_URI` incorrectly treated `/` as safe, and `SECONDS` did not include fractional seconds. This change corrects these issues. - Closes <RDFLib#2151>.
aucampia
added a commit
to aucampia/rdflib
that referenced
this issue
Mar 25, 2023
`ROUND` was not correctly rounding negative numbers towards positive infinity, `ENCODE_FOR_URI` incorrectly treated `/` as safe, and `SECONDS` did not include fractional seconds. This change corrects these issues. - Closes <RDFLib#2151>.
4 tasks
aucampia
added a commit
to aucampia/rdflib
that referenced
this issue
Mar 25, 2023
`ROUND` was not correctly rounding negative numbers towards positive infinity, `ENCODE_FOR_URI` incorrectly treated `/` as safe, and `SECONDS` did not include fractional seconds. This change corrects these issues. - Closes <RDFLib#2151>.
aucampia
added a commit
to aucampia/rdflib
that referenced
this issue
Mar 25, 2023
`ROUND` was not correctly rounding negative numbers towards positive infinity, `ENCODE_FOR_URI` incorrectly treated `/` as safe, and `SECONDS` did not include fractional seconds. This change corrects these issues. - Closes <RDFLib#2151>.
aucampia
added a commit
that referenced
this issue
Mar 26, 2023
`ROUND` was not correctly rounding negative numbers towards positive infinity, `ENCODE_FOR_URI` incorrectly treated `/` as safe, and `SECONDS` did not include fractional seconds. This change corrects these issues. - Closes <#2151>.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
confirmation needed
The issue raises a potential bug that needs to be confirmed.
The function
ENCODE_FOR_URI
should convert forward slash characters/
to%2F
according to the W3 documentation on that function:https://www.w3.org/TR/xpath-functions/#func-encode-for-uri
However, when running a running a query with
ENCODE_FOR_URI
in rdflib, that doesn't happen.The text was updated successfully, but these errors were encountered: