View Issue Details

IDProjectCategoryView StatusLast Update
0020725mantisbtperformancepublic2016-06-12 00:42
ReportergthomasAssigned Tocommunity 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.0-rc.1 
Target Version1.3.0-rc.2Fixed in Version1.3.0-rc.2 
Summary0020725: Cannot delete attachment - says security token is bad
Description

0020142 fixed the performance problem, but @dregad changed line 130 in core/form_api.php / form_security_token, which now returns "1" ALWAYS if p_security_token is not null.

TagsNo tags attached.

Activities

gthomas

gthomas

2016-03-21 06:36

reporter   ~0052814

The fix is trivial, see github PR 744.

Related Changesets

MantisBT: master 41975647

2016-03-21 06:34:13

Tamás Gulácsi


Committer: Damien Regad Details Diff
Fix form_security_param() returning 1 instead of token

If $p_security_token is not null, the function returns constant 1
instead of the token.

Fixes #20275

Signed-off-by: Damien Regad <dregad@mantisbt.org>

Original commit message reworded
mod - core/form_api.php Diff File

Issue History

Date Modified Username Field Change
2016-03-21 06:31 gthomas New Issue
2016-03-21 06:31 gthomas Issue generated from: 0020142
2016-03-21 06:36 gthomas Note Added: 0052814
2016-03-21 10:03 dregad Changeset attached => MantisBT master 41975647
2016-03-21 10:03 dregad Assigned To => community
2016-03-21 10:03 dregad Status new => resolved
2016-03-21 10:03 dregad Resolution open => fixed
2016-03-21 10:03 dregad Fixed in Version => 1.3.0-rc.2
2016-03-21 10:03 dregad Target Version => 1.3.0-rc.2
2016-06-12 00:42 vboctor Status resolved => closed