Branch: Tag:

2009-04-29

2009-04-29 15:16:51 by 0

Improve integration between <gxml> / <gtext> / <gbutton> and SiteBuilder by
ensuring that 401 responses are propagated back to the browser which then
can resend proper auth headers to access edit area versions of various
subresources (textures, backgrounds etc). Fixes [bug 4486 (#4486)] and potentially
[RT#13455] as well.

Rev: server/base_server/roxen.pike:1.1030
Rev: server/etc/modules/GText.pmod:1.21
Rev: server/etc/modules/LazyImage.pmod/module.pmod:1.21
Rev: server/modules/graphics/gbutton.pike:1.118
Rev: server/modules/graphics/graphic_text.pike:1.306
Rev: server/modules/graphics/gxml.pike:1.40

27:   // must also be aligned left or right.       - constant cvs_version = "$Id: gbutton.pike,v 1.117 2009/02/19 17:20:41 jonasw Exp $"; + constant cvs_version = "$Id: gbutton.pike,v 1.118 2009/04/29 15:16:48 jonasw Exp $";   constant thread_safe = 1;      #include <module.h>
864:   #endif    }    +  if (string icn_path = new_args->icn) { +  new_args->stat_icn = get_file_stat(icn_path, id); + #if constant(Sitebuilder) +  if (Sitebuilder.sb_prepare_imagecache) +  new_args = Sitebuilder.sb_prepare_imagecache(new_args, icn_path, id); + #endif +  } +     new_args->quant = args->quant || 128;    foreach(glob("*-*", indices(args)), string n)    new_args[n] = args[n];