[ https://issues.apache.org/jira/browse/JENA-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17487543#comment-17487543 ]
ASF subversion and git services commented on JENA-2271: ------------------------------------------------------- Commit 0a9e1de9620aafe3caee721fa006bb41e04d661c in jena's branch refs/heads/main from Bruno P. Kinoshita [ https://gitbox.apache.org/repos/asf?p=jena.git;h=0a9e1de ] JENA-2271: Do not remove slashes from graph name (with tests) > Fuseki UI: Uploading a triples file to a named graph is "Bad Request". > ---------------------------------------------------------------------- > > Key: JENA-2271 > URL: https://issues.apache.org/jira/browse/JENA-2271 > Project: Apache Jena > Issue Type: Bug > Components: Fuseki > Affects Versions: Jena 4.4.0 > Reporter: Andy Seaborne > Assignee: Bruno P. Kinoshita > Priority: Major > > On the "add data" tab, if the graph name is set to "http://example/graphname" > in the UI, a file upload to the server returns "400 Bad request". > Chrome dev tools show the POST as: > {noformat} > http://localhost:3030/ds/data?graph=http:/example/graphname > {noformat} > The request ends up as {{?graph=http:/example/graphname}} with one slash. > Using three /// in the graph name also produces a single-slash {{{}graph={}}}. > Using {{http:%2F/example/graphname}} does send the data successfully to the > named graph. > (This is not an encoding issue - the query string is right without encoding. > "{{/}}" and "{{:}}" are valid in the query string of a URI.) -- This message was sent by Atlassian Jira (v8.20.1#820001)