Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
best-practical
rtir
Commits
dd6070ee
Commit
dd6070ee
authored
Aug 22, 2013
by
Kevin Falcone
Browse files
Merge branch '3.0/whitelist-rtir-search-results' into 3.0-trunk
parents
f0e17eb6
53612b7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/RT/IR.pm
View file @
dd6070ee
...
...
@@ -79,6 +79,16 @@ my $ticket_sql_parser = Parse::BooleanLogic->new;
RT
->
AddJavaScript
('
jquery.uncheckable-radio-0.1.js
');
# Add the RTIR search result page to the whitelist to allow
# bookmarks to work without CSRF warnings, similar to the RT
# search result page. As noted in the similar RT configuration,
# whitelisted search links can be used for denial-of-service against RT
# (construct a very inefficient query and trick lots of users into
# running them against RT). This is offset by the general usefulness of
# bookmarking search links.
$
RT::Interface::Web::
is_whitelisted_component
{'
/RTIR/Search/Results.html
'}
=
1
;
=head1 FUNCTIONS
=head2 OurQueue
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment