ignore speckleUrl character case

This commit is contained in:
KatKatKateryna
2024-11-05 11:24:08 +00:00
parent 396916bb7c
commit d0a0d7efae
+2 -1
View File
@@ -309,7 +309,8 @@ def get_collection_items(
# clear data if no URL params
load_data = False
for item in request.params:
if item == 'speckleUrl' and len(request.params[item])>40 and ('speckleUrl=' + request.params[item]) in provider_def['data']:
if item.lower() == 'speckleurl' and len(request.params[item])>40 and ('speckleurl=' + request.params[item]) in provider_def['data'].lower():
print(request.params)
load_data = True
break
if load_data is False: