NetworkManager and "illegal" SSID chars = crash?

Matthew Miller mattdm at mattdm.org
Fri Sep 7 17:23:40 UTC 2007


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 at mattdm.org          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>




More information about the fedora-devel-list mailing list