Exception for www.dreamwidth.org
Posted: Sun May 02, 2010 6:09 am
Hi there!
Right now, LiveJournal has an exception from XSS warnings/blocks:
499 if (/\.livejournal\.com$/.test(originSite) &&
500 /^https?:\/\/www\.livejournal\.com\/talkpost_do\.bml$/.test(originalSpec) &&
501 ns.getPref("filterXExceptions.livejournal")) {
502 if (ns.consoleDump) this.dump(channel, "Livejournal comments exception");
503 return;
504 }
Dreamwidth Studios (www.dreamwidth.org) is a code fork of LJ, starting with the same base and taking it in a different direction (removing ads, improving features, etc). The code is at http://hg.dwscoalition.org/ for you to verify that we haven't done anything evil to the LJ code. We have the same setup as LJ, though, where a form from a subdomain (username.dreamwidth.org) gets submitted to the www subdomain as part of commenting. Is there any way we could also have an exception added in?
(One note: we've made the .bml suffix on links optional, so both www.dreamwidth.org/talkpost_do.bml and www.dreamwidth.org/talkpost_do function equally. The version without the .bml is standard, but we still support both.)
Thanks!
Right now, LiveJournal has an exception from XSS warnings/blocks:
499 if (/\.livejournal\.com$/.test(originSite) &&
500 /^https?:\/\/www\.livejournal\.com\/talkpost_do\.bml$/.test(originalSpec) &&
501 ns.getPref("filterXExceptions.livejournal")) {
502 if (ns.consoleDump) this.dump(channel, "Livejournal comments exception");
503 return;
504 }
Dreamwidth Studios (www.dreamwidth.org) is a code fork of LJ, starting with the same base and taking it in a different direction (removing ads, improving features, etc). The code is at http://hg.dwscoalition.org/ for you to verify that we haven't done anything evil to the LJ code. We have the same setup as LJ, though, where a form from a subdomain (username.dreamwidth.org) gets submitted to the www subdomain as part of commenting. Is there any way we could also have an exception added in?
(One note: we've made the .bml suffix on links optional, so both www.dreamwidth.org/talkpost_do.bml and www.dreamwidth.org/talkpost_do function equally. The version without the .bml is standard, but we still support both.)
Thanks!