Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7123746
D8514.id30657.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
546 B
Subscribers
None
D8514.id30657.diff
View Options
diff --git a/swh/web/add_forge_now/assets/create-request.js b/swh/web/add_forge_now/assets/create-request.js
--- a/swh/web/add_forge_now/assets/create-request.js
+++ b/swh/web/add_forge_now/assets/create-request.js
@@ -127,7 +127,7 @@
export function validateForgeUrl(input) {
let customValidity = '';
- if (!validateUrl(input.value.trim(), ['http', 'https'])) {
+ if (!validateUrl(input.value.trim(), ['http:', 'https:'])) {
customValidity = 'The provided forge URL is not valid.';
}
input.setCustomValidity(customValidity);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Dec 19 2024, 11:29 PM (11 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3218474
Attached To
D8514: Fix validateForgeUrl
Event Timeline
Log In to Comment