[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: NetworkManager and "illegal" SSID chars = crash?



On Fri, Sep 07, 2007 at 10:32:15AM -0400, Owen Taylor wrote:
> > The crash is, however, *very* related to the encoding issue, because the
> > assumed ascii string encoding is used not only for display but as the
> > internal representation passed around in the program.
> I'd consider the two things actually quite distinct:

Right; but right now they're not treated that way at all. So in a way,
that's the bug.

>  * D-BUS object path: you want a *unique* *consistent* representation of the
>    bytes of the ESSID. So you might, say, treat them as bytes and do URI-style
>    %XY escaping of bytes that aren't legal ascii characters in the context

Which it *almost* does -- the ":" in my example is escaped somewhere along
the line.

-- 
Matthew Miller           mattdm mattdm org          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]