* Logic fix

* Playwright test

* Revert "Playwright test"

This reverts commit a63b23961e.

* Simplify test

* Cleanup test
This commit is contained in:
Oliver 2025-04-21 21:56:55 +10:00 committed by GitHub
parent 86513844f2
commit f2770f0711
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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