mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-07 14:05:52 +01:00
Fixed warning.
This commit is contained in:
@@ -46,7 +46,7 @@ class BasicAuthenticationFilter extends Filter {
|
|||||||
try {
|
try {
|
||||||
new String(new sun.misc.BASE64Decoder().decodeBuffer(header.substring(6)))
|
new String(new sun.misc.BASE64Decoder().decodeBuffer(header.substring(6)))
|
||||||
} catch {
|
} catch {
|
||||||
case _ => ""
|
case _: Throwable => ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user