Skip to content
Snippets Groups Projects
Commit bf5e74bb authored by PeiYong Zhang's avatar PeiYong Zhang
Browse files

Bug#7000: fix to corrupted URL, patch from kent@iastate.edu (Kent)

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@173570 13f79535-47bb-0310-9956-ffa450edef68
parent 9d86163d
No related merge requests found
...@@ -56,8 +56,11 @@ ...@@ -56,8 +56,11 @@
/* /*
* $Log$ * $Log$
* Revision 1.1 2002/02/01 22:22:23 peiyongz * Revision 1.2 2002/03/11 21:08:23 peiyongz
* Initial revision * Bug#7000: fix to corrupted URL, patch from kent@iastate.edu (Kent)
*
* Revision 1.1.1.1 2002/02/01 22:22:23 peiyongz
* sane_include
* *
* Revision 1.7 2001/09/04 17:53:09 peiyongz * Revision 1.7 2001/09/04 17:53:09 peiyongz
* Bugzilla# 3170: patch from Kevin Philips to handle Query in XMLURL. * Bugzilla# 3170: patch from Kevin Philips to handle Query in XMLURL.
...@@ -196,7 +199,9 @@ UnixHTTPURLInputStream::UnixHTTPURLInputStream(const XMLURL& urlSource) ...@@ -196,7 +199,9 @@ UnixHTTPURLInputStream::UnixHTTPURLInputStream(const XMLURL& urlSource)
if (queryAsCharStar != 0) if (queryAsCharStar != 0)
{ {
fBuffer[strlen(fBuffer)] = chQuestion; size_t n = strlen(fBuffer);
fBuffer[n] = chQuestion;
fBuffer[n+1] = chNull;
strcat(fBuffer, queryAsCharStar); strcat(fBuffer, queryAsCharStar);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment