Check-in [62ef0974d6]

Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
SHA1 Hash:62ef0974d6be808343cbab4006198928706e5da2
Date: 2008-09-18 13:30:21
User: stephan
Comment:Fixed the foo://me:@foo.com path parsing bug
Tags And Properties
Changes
hide diffs unified diffs patch

Changes to parsepp_url.hpp

Old (bc0b98e5ccc094d8) New (541b0345e82133a7)
1 #ifndef S11N_NET_PARSEPP_URL_H_INCLUDED 1 #ifndef S11N_NET_PARSEPP_URL_H_INCLUDED
2 #define S11N_NET_PARSEPP_URL_H_INCLUDED 1 2 #define S11N_NET_PARSEPP_URL_H_INCLUDED 1
3 3
4 #include "parsepp.hpp" 4 #include "parsepp.hpp"
5 #include <map> 5 #include <map>
201 hidden lines
207 one<'@'> >, a_login> 207 one<'@'> >, a_login>
208 */ 208 */
209 : r_action< 209 : r_action<
210 r_and< RL< 210 r_and< RL<
211 r_user, 211 r_user,
212 r_opt< r_and<RL<r_ch<':'>,r_password > > >, | 212 r_opt< r_and<RL<r_ch<':'>,r_opt<r_password> > > >,
213 r_ch<'@'> 213 r_ch<'@'>
214 > >, 214 > >,
215 a_login> 215 a_login>
216 {}; 216 {};
217 217
31 hidden lines
249 {}; 249 {};
250 250
251 struct r_url 251 struct r_url
252 : r_or< RL< r_fileurl, r_stdurl > > 252 : r_or< RL< r_fileurl, r_stdurl > >
253 {}; 253 {};
254 /** <
255 Bugs: <
256 <
257 - http://user:@host... sets the hostname to 'user' and path to ':@host...' <
258 */ <
259 254
260 #undef RL 255 #undef RL
261 #undef CL 256 #undef CL
262 257
263 /** 258 /**
6 hidden lines
270 } 265 }
271 266
272 }} // namespaces 267 }} // namespaces
273 268
274 #endif // S11N_NET_PARSEPP_URL_H_INCLUDED 269 #endif // S11N_NET_PARSEPP_URL_H_INCLUDED