You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ba...@apache.org on 2004/04/19 11:45:21 UTC

cvs commit: ws-axis/c/src/transport/axis Url.cpp

baudyjy     2004/04/19 02:45:21

  Modified:    c/src/transport/axis Url.cpp
  Log:
  Allow ? in URL (if server is a servlet).
  
  Revision  Changes    Path
  1.7       +7 -3      ws-axis/c/src/transport/axis/Url.cpp
  
  Index: Url.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/axis/Url.cpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Url.cpp	9 Apr 2004 06:44:07 -0000	1.6
  +++ Url.cpp	19 Apr 2004 09:45:21 -0000	1.7
  @@ -133,12 +133,16 @@
                               m_Host = url.substr(0, pos);
                           pos++;
                           begpos = pos;
  +                        /*
                           key = "?";
                           continue;
   
  -                    case '?':
  -                        /* not correctly supported */
  -                        m_Query = url.substr(pos);
  +                      case '?':
  +                        //not correctly supported
  +                        m_Query = url.substr(pos);                        
  +                        */
  +                        /* no need to find other ? */
  +                        m_Path = url.substr(begpos - 1);
                           break;
                   }    
                   break;