[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
cesy.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=711
Remove referer-checking for support page
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
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 --------------------------------------------------------------------------------
no subject