3
0
mirror of https://github.com/Qortal/qortal.git synced 2025-02-12 02:05:50 +00:00

Fixed yet another case sensitivity issue.

This commit is contained in:
CalDescent 2021-11-01 20:02:38 +00:00
parent 618cffefb1
commit 8c7f09c454

View File

@ -50,6 +50,11 @@ public class ArbitraryDataReader {
private Path unencryptedPath;
public ArbitraryDataReader(String resourceId, ResourceIdType resourceIdType, Service service) {
// Ensure names are always lowercase
if (resourceIdType == ResourceIdType.NAME) {
resourceId = resourceId.toLowerCase();
}
this.resourceId = resourceId;
this.resourceIdType = resourceIdType;
this.service = service;