forked from I2P_Developers/i2p.i2p
susimail: fix NPE (ticket #1296)
This commit is contained in:
@@ -1495,9 +1495,12 @@ public class WebMail extends HttpServlet
|
||||
|
||||
/**
|
||||
* Copied from net.i2p.router.web.CSSHelper
|
||||
* @param ua null ok
|
||||
* @since 0.9.7
|
||||
*/
|
||||
private static boolean isMobile(String ua) {
|
||||
if (ua == null)
|
||||
return false;
|
||||
return
|
||||
// text
|
||||
(ua.startsWith("Lynx") || ua.startsWith("w3m") ||
|
||||
|
Reference in New Issue
Block a user