Daniel Carl <dan...@gm...> wrote:
> At the moment the per site settings aren't applied if a site is
> requested via link click or hinting, it works only for urls entered
> to url box. I suppose we have to use a callback to set the settings
> when a page is opened by hinting or a javascript.
Good catch - this needs to be adapted. Will need to consider what the b
est way is (suggestions welcome).
> In the function read_rcfile() a splitting for the site is done via
> index = split_string_at_whitespace(buffer);
>
> How can set values containing whitespace (for example useragent) per
> site if we split it by whitespace?
This should not be a problem. The function only looks for the first
occurence of whitespace, i.e. the separation between the URL and the
settings. URLs can't contain whitespace, so there is no danger. The
settings are separated with pipe symbols exactly due to this reason. So
I don't see why setting a custom useragent (and other configuration
options) should not work.
Hannes
|