[freeside-commits] freeside/rt/lib/RT/Interface Web.pm, 1.3.4.4, 1.3.4.5
Ivan,,,
ivan at wavetail.420.am
Fri Jul 15 13:28:19 PDT 2011
- Previous message: [freeside-commits] freeside/rt FREESIDE_MODIFIED, 1.43.2.18, 1.43.2.19
- Next message: [freeside-commits] freeside/FS/FS banned_pay.pm, 1.3, 1.4 Schema.pm, 1.314, 1.315 cust_main.pm, 1.584, 1.585 Conf.pm, 1.466, 1.467
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/rt/lib/RT/Interface
In directory wavetail.420.am:/tmp/cvs-serv31536/lib/RT/Interface
Modified Files:
Tag: FREESIDE_2_1_BRANCH
Web.pm
Log Message:
fix 403 errors pulling up RTx-Statistics charts, RT#13546
Index: Web.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/lib/RT/Interface/Web.pm,v
retrieving revision 1.3.4.4
retrieving revision 1.3.4.5
diff -u -w -d -r1.3.4.4 -r1.3.4.5
--- Web.pm 20 Apr 2011 17:46:58 -0000 1.3.4.4
+++ Web.pm 15 Jul 2011 20:28:16 -0000 1.3.4.5
@@ -438,7 +438,11 @@
autohandler | # requesting this directly is suspicious
l ) # loc component
( $ | / ) # trailing slash or end of path
- }xi) {
+ }xi
+ && $path !~ m{ /RTx/Statistics/\w+/Elements/Chart }xi
+ )
+ {
+ warn "rejecting private component $path\n";
$m->abort(403);
}
@@ -2300,7 +2304,6 @@
return ( _load_container_object( $obj_type, $obj_id ), $search_id );
}
-package RT::Interface::Web;
RT::Base->_ImportOverlays();
1;
- Previous message: [freeside-commits] freeside/rt FREESIDE_MODIFIED, 1.43.2.18, 1.43.2.19
- Next message: [freeside-commits] freeside/FS/FS banned_pay.pm, 1.3, 1.4 Schema.pm, 1.314, 1.315 cust_main.pm, 1.584, 1.585 Conf.pm, 1.466, 1.467
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list