I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit e0914c35 authored by zzz's avatar zzz
Browse files

susimail: fix NPE (ticket #1296)

parent 0e9bb23c
No related branches found
No related tags found
No related merge requests found
...@@ -1495,9 +1495,12 @@ public class WebMail extends HttpServlet ...@@ -1495,9 +1495,12 @@ public class WebMail extends HttpServlet
/** /**
* Copied from net.i2p.router.web.CSSHelper * Copied from net.i2p.router.web.CSSHelper
* @param ua null ok
* @since 0.9.7 * @since 0.9.7
*/ */
private static boolean isMobile(String ua) { private static boolean isMobile(String ua) {
if (ua == null)
return false;
return return
// text // text
(ua.startsWith("Lynx") || ua.startsWith("w3m") || (ua.startsWith("Lynx") || ua.startsWith("w3m") ||
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment