knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From su...@apache.org
Subject knox git commit: Fixed typo in string for javascript
Date Mon, 16 Nov 2015 19:32:47 GMT
Repository: knox
Updated Branches:
  refs/heads/master e7d7516b0 -> 319ec0e46


Fixed typo in string for javascript


Project: http://git-wip-us.apache.org/repos/asf/knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/319ec0e4
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/319ec0e4
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/319ec0e4

Branch: refs/heads/master
Commit: 319ec0e46cbfbc610868501b2611c9fca931e6bd
Parents: e7d7516
Author: Sumit Gupta <sumit@apache.org>
Authored: Mon Nov 16 14:32:06 2015 -0500
Committer: Sumit Gupta <sumit@apache.org>
Committed: Mon Nov 16 14:32:06 2015 -0500

----------------------------------------------------------------------
 .../gateway/filter/rewrite/impl/html/HtmlFilterReaderBase.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/319ec0e4/gateway-provider-rewrite/src/main/java/org/apache/hadoop/gateway/filter/rewrite/impl/html/HtmlFilterReaderBase.java
----------------------------------------------------------------------
diff --git a/gateway-provider-rewrite/src/main/java/org/apache/hadoop/gateway/filter/rewrite/impl/html/HtmlFilterReaderBase.java
b/gateway-provider-rewrite/src/main/java/org/apache/hadoop/gateway/filter/rewrite/impl/html/HtmlFilterReaderBase.java
index 75a27d6..f4f2e0a 100644
--- a/gateway-provider-rewrite/src/main/java/org/apache/hadoop/gateway/filter/rewrite/impl/html/HtmlFilterReaderBase.java
+++ b/gateway-provider-rewrite/src/main/java/org/apache/hadoop/gateway/filter/rewrite/impl/html/HtmlFilterReaderBase.java
@@ -50,7 +50,7 @@ import java.util.regex.Pattern;
 
 public abstract class HtmlFilterReaderBase extends Reader implements UrlRewriteFilterReader
{
 
-  private static List<String> JSTYPES = Arrays.asList( new String[] { "application/javascritp",
"text/javascript", "*/javascript",
+  private static List<String> JSTYPES = Arrays.asList( new String[] { "application/javascript",
"text/javascript", "*/javascript",
       "application/x-javascript", "text/x-javascript", "*/x-javascript" } );
   private static final String SCRIPTTAG = "script";
   private static final UrlRewriteFilterPathDescriptor.Compiler<Pattern> REGEX_COMPILER
= new RegexCompiler();


Mime
View raw message