Skip to content

Commit

Permalink
Merge b3c184d into 1cfa52b
Browse files Browse the repository at this point in the history
  • Loading branch information
mboudet committed Feb 22, 2023
2 parents 1cfa52b + b3c184d commit 93b20c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -31,6 +31,7 @@ This changelog was started for release 4.2.0.
- Increased Galaxy timeout for tests
- Fix documentation build
- Force all 'user queries'(ask/sparql interfaces) to go to the unauthenticated endpoint, to increase security (no write permissions)
- Force all queries to use 'POST' instead of 'GET' to avoid max length issues

### Security

Expand Down
2 changes: 1 addition & 1 deletion askomics/libaskomics/SparqlQueryLauncher.py
Expand Up @@ -307,8 +307,8 @@ def execute_query(self, query, disable_log=False, isql_api=False, is_update=Fals

else:
# Update
self.endpoint.setMethod('POST')
if is_update:
self.endpoint.setMethod('POST')
# Force sending to secure endpoint
self.endpoint.queryType = "INSERT"
results = self.endpoint.query()
Expand Down

0 comments on commit 93b20c8

Please sign in to comment.