Opened 5 years ago
Last modified 3 years ago
#18872 new defect
In LinkDialog, Unable to create file link if first folder contain underscore(-)
Reported by: | jitendranalwaya | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.14 |
Component: | Dijit | Version: | 1.10.4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Problem Description: In dijit/_editor/plugins/LinkDialog, URL input is validated, so unable to create file link if first folder contain underscore(-). Its showing error "The value entered is not valid". Steps to reproduce -
- Open https://dojotoolkit.org/reference-guide/1.10/dijit/_editor/plugins/LinkDialog.html
- Click on Run button (Under Examples section)
- Click the link icon to open the Link Properties dialog.
- In the URL field, attempt to type "file:///C:/abc_test/xyz.txt"
- It shows the warning message 'The value entered is not valid'.
- You cannot create the link.
Validation passed for below links-
file://localhost/C:/abc_test/xyz.txt
file://localhost/C:/abc/xyz.txt
Validation failed for below link-
Expected behavior: The validation of the url should accept the underscore
Actual behavior: The url cannot be saved because of an validation error "The value entered is not valid"
If dojo permitted file://localhost/C:/abc_test/xyz.txt then, Why not permitted to file:///C:/abc_test/xyz.txt ?
Attachments (1)
Change History (3)
Changed 5 years ago by
Attachment: | LinkDialogIssue.png added |
---|
comment:1 Changed 4 years ago by
Milestone: | tbd → 1.13 |
---|
comment:2 Changed 3 years ago by
Milestone: | 1.13 → 1.14 |
---|
Link Dialog