curl only sends for certificate if requested in NEED mode webid-java6
authorHenry Story <henry.story@bblfish.net>
Wed, 23 May 2012 15:56:17 +0200
branchwebid-java6
changeset 206 6ebc37421f28
parent 205 674d9bb48ea7
child 207 c2247e08cf5b
curl only sends for certificate if requested in NEED mode
src/main/scala/auth/X509Cert.scala
--- a/src/main/scala/auth/X509Cert.scala	Wed May 23 11:05:06 2012 +0200
+++ b/src/main/scala/auth/X509Cert.scala	Wed May 23 15:56:17 2012 +0200
@@ -268,7 +268,7 @@
   *
   */
   def needAuth(agent: String): Boolean =
-    (agent contains "Java")  | (agent contains "AppleWebKit")  |  (agent contains "Opera")
+    (agent contains "Java")  | (agent contains "AppleWebKit")  |  (agent contains "Opera") | (agent contains "libcurl")
   
 }