mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix export vulnerability, found by GitHub user @oomb and disclosed via the excellent huntr.dev platform.
This commit is contained in:
@@ -15,9 +15,10 @@
|
||||
<p>
|
||||
{{ 'export_data_expl'|_ }}
|
||||
</p>
|
||||
<ul>
|
||||
<li><i class="fa fa-fw fa-download"></i> <a href="{{ route('export.export') }}" title="{{ 'export_data_all_transactions'|_ }}">{{ 'export_data_all_transactions'|_ }}</a></li>
|
||||
</ul>
|
||||
<form action="{{ route('export.export') }}" method="post">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}"/>
|
||||
<button type="submit"><i class="fa fa-fw fa-download"></i> {{ 'export_data_all_transactions'|_ }}</button>
|
||||
</form>
|
||||
<p>
|
||||
{{ 'export_data_advanced_expl'|_ }}
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user