Skip to content

Automatic URL considered as invalid when creating ressource on local instance (http://127.0.0.1:7000) #3093

@rv2931

Description

@rv2931

I'm testing udata with local docker stack
The domain name is so http://127.0.0.0.1:7000

When I try to create a new dataset for testing, I can't validate the ressource (CSV upload) because the URL that is generated is concidered as invalid
URL : http://127.0.0.1:7000/en/admin/dataset/new/
URL auto generated: http://127.0.0.1:7000/s/resources/dataset1/20240718-053900/ports.csv

Error message on URL field: Please enter a valid URL

Detailed Description

I've started from scrach a docker instance on local dev plateform
I've created an organsiation
when I try to create a new dataset based on a CSV, on the page asking to upload the file, I'm stuck with the error "Please enter a valid URL" for the resource, but no way to bypass as the field is read only
So finally I can't really test the dev instance

Context

The criterias of what is a valid URL is not given in question mark
Mayeb it is due to domain format nom:port or maybe it is due to presence of IP adress, or maybe 127.0.0.1
If it is, so this should be present in pre-requisite for mounting an instance
Or be more tolerant on domain name

Possible Implementation

Your Environment

This is docker stack based on podman
I'm on Windows 10 entreprise

  • Browser Name and version: Firefox 115.11.0esr (64 bits)
  • Operating System and version (desktop or mobile): desktop

Capture

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions