Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 3ecdf27

Browse files
Merge branch 'develop-6.7' of https://github.com/runrev/livecode into develop-6.7-gyp
Conflicts: ide
2 parents ffdc808 + 7ca537f commit 3ecdf27

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

docs/notes/bugfix-15456.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# libURL handles Content-Transfer-Encoding incorrectly

engine/src/execpt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ Exec_stat MCExecPoint::eval(MCExecPoint &ep)
10541054
Exec_stat stat = ES_ERROR;
10551055
if (sp.parseexp(False, True, &exp) == PS_NORMAL && sp.next(type) == PS_EOF)
10561056
{
1057-
stat = exp->eval(*this);
1057+
stat = exp->eval(ep);
10581058
grabsvalue();
10591059
}
10601060
delete exp;

ide

Submodule ide updated from 46aaff2 to d76f3d9

ide-support/revliburl.livecodescript

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -971,6 +971,10 @@ on ulParseHeaders x
971971
local tLocLine,tLenLine,tContentLine,tCodeLine,tConnectionLine,ptConnLine
972972

973973
set the lastRhHeaders of me to laRhHeader[laUrl[x]] ##set property
974+
// SN-2015-06-04: [[ Bug 15456 ]] Apply fix proposed by Dave Cragg
975+
// see http://runtime-revolution.278305.n4.nabble.com/OT-More-on-false-timeouts-and-headers-td4692465.html
976+
filter lines of laRhHeader[laUrl[x]] without "*Content-Transfer-Encoding:*"
977+
974978
put lineOffset("Location:",laRhHeader[laUrl[x]]) into tLocLine
975979
put lineOffset("Content-Length:",laRhHeader[laUrl[x]]) into tLenLine
976980
put lineOffset("Content-Type:",laRhHeader[laUrl[x]]) into tContentLine

0 commit comments

Comments
 (0)