mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-23 04:36:50 +00:00
"default" is now a reserved keyword when used as an identifier.
Requesting a resource with the identifier "default" now maps to a blank string. This allows the /arbitrary/{service}/{name}/{identifier} endpoints to be used for default resources too, as they previously didn't support a blank string as the third parameter.
This commit is contained in:
@@ -109,9 +109,6 @@ elif [[ "${method}" == "GET" ]]; then
|
||||
fi
|
||||
|
||||
# Handle default
|
||||
if [[ "${identifier}" == "default" ]]; then
|
||||
identifier=""
|
||||
fi
|
||||
if [[ "${filepath}" == "default" ]]; then
|
||||
filepath=""
|
||||
fi
|
||||
|
Reference in New Issue
Block a user