afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-04-10 02:59 am

[dw-free] kill support page referer check

[commit: http://hg.dwscoalition.org/dw-free/rev/7ceb6a364e3f]

http://bugs.dwscoalition.org/show_bug.cgi?id=711

Remove referer-checking for support page

Patch by [personal profile] cesy.

Files modified:
  • htdocs/support/help.bml
  • htdocs/support/help.bml.text
--------------------------------------------------------------------------------
diff -r 631b96a85987 -r 7ceb6a364e3f htdocs/support/help.bml
--- a/htdocs/support/help.bml	Fri Apr 10 02:25:42 2009 +0000
+++ b/htdocs/support/help.bml	Fri Apr 10 02:52:00 2009 +0000
@@ -51,10 +51,6 @@ body<=
 
  my $remote = LJ::get_remote();
  LJ::Support::init_remote($remote);
-
- return $ML{'.interim'} if
-    (!$remote || !$remote->{'_priv'}) &&
-    ($r->headers_in->{Referer} eq "$LJ::SITEROOT/support/" || $r->headers_in->{Referer} eq "$LJ::SITEROOT/support/index.bml" || $r->headers_in->{Referer} eq "$LJ::SITEROOT/support/submit.bml");
 
  my $cats = LJ::Support::load_cats();
 
diff -r 631b96a85987 -r 7ceb6a364e3f htdocs/support/help.bml.text
--- a/htdocs/support/help.bml.text	Fri Apr 10 02:25:42 2009 +0000
+++ b/htdocs/support/help.bml.text	Fri Apr 10 02:52:00 2009 +0000
@@ -4,8 +4,6 @@
 .button.filter=Filter
 
 .cat.all=All
-
-.interim=The support queue is intended for use by people with support privileges.
 
 .requests.type=requests of type
 
--------------------------------------------------------------------------------