mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-27 19:16:44 +00:00
* Logic fix * Playwright test * Revert "Playwright test" This reverts commit a63b23961efd61f5ea5e10f7158a5bc2fd7ca11b. * Simplify test * Cleanup test
This commit is contained in:
parent
86513844f2
commit
f2770f0711
@ -38,7 +38,7 @@ class InvenTreeRestURLField(RestURLField):
|
||||
|
||||
if not strict_urls and data is not empty and data is not None:
|
||||
data = str(data).strip()
|
||||
if '://' not in data:
|
||||
if data and '://' not in data:
|
||||
# Validate as if there were a schema provided
|
||||
data = 'http://' + data
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user