Re: Quoted-string type in wap/wsp_headers.c

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization The Kannel Group
Message-ID <[email protected]>
Søren Hansen wrote:
> Hi!
> 
> I was looking around the code in wap/wsp_headers.c and as far as I can
> see, wsp_field_value does not take the Quoted-string type from the WSP
> spec (WAP-230) section 8.4.2.1 into account. Is that correct, or am I
> not reading it correctly?
> It appears that my Nokia 3200 uses it when encapsulating MMS's, so it's
> actually an encapsulation technique that's being used.

doesn't the spec:

Quoted-string = <Octet 34> *TEXT End-of-string
;The TEXT encodes an RFC2616 Quoted-string with the enclosing quotation-marks 
<"> removed

actually mean that we "fall-back" in the last else branch of the 
wsp_field_value() if statement?

Actually meaning that we un-parse the first quote (") and leave the rest 
untouched to be parsed via the appropriate functions? At least 
wsp_strip_parameters() does handle this issue, right?

Stipe

mailto:stolj_{at}_wapme.de
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf, NRW, Germany

phone: +49.211.74845.0
fax: +49.211.74845.299

mailto:info_{at}_wapme-systems.de
http://www.wapme-systems.de/
-------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.