You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2018/10/04 14:20:45 UTC

svn commit: r1842817 - in /tomcat/trunk/webapps/docs: changelog.xml config/filter.xml

Author: markt
Date: Thu Oct  4 14:20:45 2018
New Revision: 1842817

URL: http://svn.apache.org/viewvc?rev=1842817&view=rev
Log:
Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=62761
Correct the advanced CORS example in the Filter documentation to use a valid configuration.

Modified:
    tomcat/trunk/webapps/docs/changelog.xml
    tomcat/trunk/webapps/docs/config/filter.xml

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1842817&r1=1842816&r2=1842817&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Thu Oct  4 14:20:45 2018
@@ -155,6 +155,10 @@
         <bug>62712</bug>: Correct NPE in Manager application when attempting to
         view configured certificates for an APR/native TLS connector. (markt)
       </fix>
+      <fix>
+        <bug>62761</bug>: Correct the advanced CORS example in the Filter
+        documentation to use a valid configuration. (markt)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Tribes">

Modified: tomcat/trunk/webapps/docs/config/filter.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/filter.xml?rev=1842817&r1=1842816&r2=1842817&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/config/filter.xml (original)
+++ tomcat/trunk/webapps/docs/config/filter.xml Thu Oct  4 14:20:45 2018
@@ -195,7 +195,7 @@
   <filter-class>org.apache.catalina.filters.CorsFilter</filter-class>
   <init-param>
     <param-name>cors.allowed.origins</param-name>
-    <param-value>*</param-value>
+    <param-value>https://www.apache.org</param-value>
   </init-param>
   <init-param>
     <param-name>cors.allowed.methods</param-name>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org