Opened 6 years ago

Last modified 5 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:


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 -

  1. Open
  2. Click on Run button (Under Examples section)
  3. Click the link icon to open the Link Properties dialog.
  4. In the URL field, attempt to type "file:///C:/abc_test/xyz.txt"
  5. It shows the warning message 'The value entered is not valid'.
  6. You cannot create the link.

Validation passed for below links-




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)

LinkDialogIssue.png (24.0 KB) - added by jitendranalwaya 6 years ago.
Link Dialog

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by jitendranalwaya

Attachment: LinkDialogIssue.png added

Link Dialog

comment:1 Changed 6 years ago by dylan

Milestone: tbd1.13

comment:2 Changed 5 years ago by dylan

Milestone: 1.131.14
Note: See TracTickets for help on using tickets.