Index: htdig/HTML.cc
===================================================================
RCS file: /usr/local/src/web/htdig/htdig/HTML.cc,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 HTML.cc
--- HTML.cc	1998/12/11 02:03:22	1.1.1.2
+++ HTML.cc	1998/12/18 04:58:32
@@ -422,7 +422,7 @@
                            //
                            *q = '\0';
                            //
-                           // If a '?' or '#' is present in a quoted URL,
+                           // If a '#' is present in a quoted URL,
                            //  treat that as the end of the URL, but we skip
                            //  past the quote to parse the rest of the anchor.
                            //
@@ -430,8 +430,6 @@
                            //
                            if ((t = strchr(position, '#')) != NULL)
                                *t = '\0';
-                           if ((t = strchr(position, '?')) != NULL)
-                               *t = '\0';
 			}
 			else
 			{
@@ -439,7 +437,6 @@
 			    while (*q &&
 				   *q != '>' &&
 				   !isspace(*q) &&
-				   *q != '?' &&
 				   *q != '#')
 				q++;
 			    *q = '\0';
@@ -482,7 +479,7 @@
                            //
                            *q = '\0';
                            //
-                           // If a '?' or '#' is present in a quoted URL,
+                           // If a '#' is present in a quoted URL,
                            //  treat that as the end of the URL, but we skip
                            //  past the quote to parse the rest of the anchor.
                            //
@@ -490,8 +487,6 @@
                            //
                            if ((t = strchr(position, '#')) != NULL)
                                *t = '\0';
-                           if ((t = strchr(position, '?')) != NULL)
-                               *t = '\0';
 			}
 			else
 			{
@@ -594,7 +589,7 @@
                //
                *q = '\0';
                //
-               // If a '?' or '#' is present in a quoted URL,
+               // If a '#' is present in a quoted URL,
                //  treat that as the end of the URL, but we skip
                //  past the quote to parse the rest of the anchor.
                //
@@ -602,8 +597,6 @@
                //
                if ((t = strchr(position, '#')) != NULL)
                    *t = '\0';
-               if ((t = strchr(position, '?')) != NULL)
-                   *t = '\0';
 	    }
 	    else
 	    {
@@ -810,7 +803,7 @@
                        //
                        *q = '\0';
                        //
-                       // If a '?' or '#' is present in a quoted URL,
+                       // If a '#' is present in a quoted URL,
                        //  treat that as the end of the URL, but we skip
                        //  past the quote to parse the rest of the anchor.
                        //
@@ -818,8 +811,6 @@
                        //
                        if ((t = strchr(position, '#')) != NULL)
                            *t = '\0';
-                       if ((t = strchr(position, '?')) != NULL)
-                           *t = '\0';
 		    }
 		    else
 		    {
@@ -827,7 +818,6 @@
 			while (*q &&
 			       *q != '>' &&
 			       !isspace(*q) &&
-			       *q != '?' &&
 			       *q != '#')
 			    q++;
 			*q = '\0';
@@ -884,7 +874,7 @@
                        //
                        *q = '\0';
                        //
-                       // If a '?' or '#' is present in a quoted URL,
+                       // If a '#' is present in a quoted URL,
                        //  treat that as the end of the URL, but we skip
                        //  past the quote to parse the rest of the anchor.
                        //
@@ -892,8 +882,6 @@
                        //
                        if ((t = strchr(position, '#')) != NULL)
                            *t = '\0';
-                       if ((t = strchr(position, '?')) != NULL)
-                           *t = '\0';
 		    }
 		    else
 		    {
@@ -901,7 +889,6 @@
 			while (*q &&
 			       *q != '>' &&
 			       !isspace(*q) &&
-			       *q != '?' &&
 			       *q != '#')
 			    q++;
 			*q = '\0';
@@ -957,7 +944,7 @@
                        //
                        *q = '\0';
                        //
-                       // If a '?' or '#' is present in a quoted URL,
+                       // If a '#' is present in a quoted URL,
                        //  treat that as the end of the URL, but we skip
                        //  past the quote to parse the rest of the anchor.
                        //
@@ -965,8 +952,6 @@
                        //
                        if ((t = strchr(position, '#')) != NULL)
                            *t = '\0';
-                       if ((t = strchr(position, '?')) != NULL)
-                           *t = '\0';
 		    }
 		    else
 		    {
@@ -974,7 +959,6 @@
 			while (*q &&
 			       *q != '>' &&
 			       !isspace(*q) &&
-			       *q != '?' &&
 			       *q != '#')
 			    q++;
 		    *q = '\0';
