Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upCreating a project from a URL: URLs with leading whitespace are rejected #2516
Comments
|
Ohh now i understand your issue.Can you please tell me where is code related to issue?I will try to fix it. |
|
No, it is a UI issue, so it is in a Javascript file. Here is how you can find it:
With this method you do not need to understand OpenRefine's structure much: you can locate the code you are interested in just by following references, starting from UI text. |
|
I think we can just add a function in UI to trim the whitespaces in the input URL before it is sent to the Regex for validation, or can we just add a trim function in the regex function? |
Yes am also trying to add trim function to resolve this issue :) |


Describe the bug
The input field to create a project from a URL does not trim its input when validating it.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The value of this input should be trimmed before validation.
OpenRefine (please complete the following information):