You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can modify it to be more permissive as file: does not need double slashes.
With this change, entries in TypicalEntries can be simplified from "file://" + MainApp.class.getResource("somefile").toExternalForm().substring(5)
to just MainApp.class.getResource("somefile").toExternalForm().
The text was updated successfully, but these errors were encountered:
public static final String VALIDATION_REGEX = "^(https?|ftp|file)://" + PATH;
to public static final String VALIDATION_REGEX = "^(https?://|file:/(//)?)" + PATH;
This is the current validation regex for Link:
We can modify it to be more permissive as
file:
does not need double slashes.With this change, entries in
TypicalEntries
can be simplified from"file://" + MainApp.class.getResource("somefile").toExternalForm().substring(5)
to just
MainApp.class.getResource("somefile").toExternalForm()
.The text was updated successfully, but these errors were encountered: