File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
java/src/main/java/com/genexus/webpanels Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ public class HttpContextWeb extends HttpContext {
7171
7272 private static final Pattern MULTIMEDIA_GXI_GRID_PATTERN = Pattern .compile ("(\\ w+)(_\\ d{4})$" );
7373
74- private static final Pattern EDGE_BROWSER_VERSION_REGEX = Pattern .compile (" Edge \\ /([0-9]+)\\ ." ,
74+ private static final Pattern EDGE_BROWSER_VERSION_REGEX = Pattern .compile (" Edg[ \\ w]{0,3} \\ /([0-9]+)\\ ." ,
7575 Pattern .CASE_INSENSITIVE );
7676 private static final String GXEVENT_PARM = "gxevent" ;
7777
@@ -661,7 +661,7 @@ public int getBrowserType() {
661661 String userAgent = request .getHeader ("USER-AGENT" );
662662
663663 if (userAgent != null ) {
664- if ((userAgent .indexOf ("Edge" ) ) != -1 ) {
664+ if ((userAgent .indexOf ("Edg" ) ) != -1 ) {
665665 return BROWSER_EDGE ;
666666 } else if (userAgent .toUpperCase ().indexOf ("CHROME" ) != -1 ) {
667667 return BROWSER_CHROME ;
You can’t perform that action at this time.
0 commit comments