arrfab / rpms / httpd

Forked from rpms/httpd 5 years ago
Clone

Blame SOURCES/httpd-2.4.6-r1528556.patch

0943f8
Index: modules/mappers/mod_rewrite.c
0943f8
===================================================================
0943f8
--- a/modules/mappers/mod_rewrite.c	(revision 1499025)
0943f8
+++ b/modules/mappers/mod_rewrite.c	(revision 1528556)
0943f8
@@ -589,6 +589,18 @@
0943f8
             return 7;
0943f8
         }
0943f8
         break;
0943f8
+
0943f8
+    case 'w':
0943f8
+    case 'W':
0943f8
+        if (!strncasecmp(uri, "s://", 4)) {        /* ws://     */
0943f8
+            *sqs = 1;
0943f8
+            return 5;
0943f8
+        }
0943f8
+        else if (!strncasecmp(uri, "ss://", 5)) {  /* wss://    */
0943f8
+            *sqs = 1;
0943f8
+            return 6;
0943f8
+        }
0943f8
+        break;
0943f8
     }
0943f8
 
0943f8
     return 0;