Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd9ecda1

Browse files
fix: remove trailing tabs to fix formatting
Co-authored-by: mattvollmer <95866673+mattvollmer@users.noreply.github.com>
1 parent78f8578 commitd9ecda1

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:=rangehostnamePatterns {
286286
ifstrings.EqualFold(scheme,pattern) {
287287
returntrue
288288
}
289289
}
290-
290+
291291
// Check if it looks like a domain name (contains dots)
292292
ifstrings.Contains(scheme,".") {
293293
returntrue
294294
}
295-
295+
296296
returnfalse
297297
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp