Browse code

Merge commit 'fe9723e973b32dc093aab9f124c7287d3231cd23'

devnewton authored on 17/10/2017 07:27:26
Showing 3 changed files
... ...
@@ -98,7 +98,7 @@
98 98
         <dependency>
99 99
             <groupId>com.squareup.okhttp3</groupId>
100 100
             <artifactId>okhttp</artifactId>
101
-            <version>3.8.1</version>
101
+            <version>3.9.0</version>
102 102
         </dependency>
103 103
         <dependency>
104 104
             <groupId>org.apache.commons</groupId>
... ...
@@ -164,7 +164,7 @@ jb3_post_to_html = /*
164 164
             if( /(ogg|mp3|wav)$/i.test(remaining) ) {
165 165
                 return '<audio src="' + fullUrl + '" controls preload="none" title="' + fullUrl + '"></audio>';
166 166
             } else {
167
-                return '<a href="' + fullUrl + '" target="_blank">'+ domain +'</a>';
167
+                return '<a href="' + fullUrl + '" target="_blank" rel="noreferrer">'+ domain +'</a>';
168 168
             }
169 169
          },
170 170
         peg$c19 = "\\_",
... ...
@@ -18,7 +18,7 @@ url
18 18
     if( /(ogg|mp3|wav)$/i.test(remaining) ) {
19 19
         return '<audio src="' + fullUrl + '" controls preload="none" title="' + fullUrl + '"></audio>';
20 20
     } else {
21
-        return '<a href="' + fullUrl + '" target="_blank">'+ domain +'</a>';
21
+        return '<a href="' + fullUrl + '" target="_blank" rel="noreferrer">'+ domain +'</a>';
22 22
     }
23 23
  }
24 24