Skip to content

Commit d9ecda1

Browse files
fix: remove trailing tabs to fix formatting
Co-authored-by: mattvollmer <95866673+mattvollmer@users.noreply.github.com>
1 parent 78f8578 commit d9ecda1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

codersdk/oauth2_validation.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,17 +281,17 @@ func isHostnameScheme(scheme string) bool {
281281
"127.0.0.1",
282282
"::1",
283283
}
284-
284+
285285
for _, pattern := range hostnamePatterns {
286286
if strings.EqualFold(scheme, pattern) {
287287
return true
288288
}
289289
}
290-
290+
291291
// Check if it looks like a domain name (contains dots)
292292
if strings.Contains(scheme, ".") {
293293
return true
294294
}
295-
295+
296296
return false
297297
}

0 commit comments

Comments
 (0)