#1 2015-11-29 16:11:41

itSDS
Member
From: Germany
Registered: 2014-04-24
Posts: 506

Regression in MVC 1.18.2102

Hi AB,

i updated to actual Version and we encounter a regression in v 1.18.2102
Your Refactoring does not work correctly.

if we post to another page in default (lets say check), page check is not called. Do we have to change something in our code ?


Rad Studio 12.1 Santorini

Offline

#2 2015-11-29 16:36:57

itSDS
Member
From: Germany
Registered: 2014-04-24
Posts: 506

Re: Regression in MVC 1.18.2102

Found the Line causing the Error:

mormot.pas: 35468

Old Working one:

    fInputPostContentType := FindIniNameValue(pointer(Call.InHead),HEADER_CONTENT_TYPE_UPPER);

Not Working since 2102:

    fInputPostContentType := Call^.OutBodyType(false);

Rad Studio 12.1 Santorini

Offline

#3 2015-11-29 18:00:04

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,183
Website

Re: Regression in MVC 1.18.2102

Indeed... We were checking the output header... instead of the input header...

Should be fixed by http://synopse.info/fossil/info/53944f1639

Offline

Board footer

Powered by FluxBB