Item14204: Port JsonRpcContrib unit tests from master to Release02x01 - and fix error with redirectto revealed by test.

pencil
Priority: Normal
Current State: Closed
Released In: 2.1.3
Target Release: patch
Applies To: Extension
Component: JsonRpcContrib
Branches: Release02x01 master Item13897 Item14152 Item14203
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
Found one error. redirectto is failing if the URL contains an anchor. It's entity encoded. getScriptUrl doesn't support anchors, so they get entity encoded in the generated URL. Change Server.pm to use core's redirectto processing.

-- GeorgeClark - 01 Nov 2016

And an error on master - errors from the json parser were being masked by the JSON version check.

-- GeorgeClark - 01 Nov 2016
 
Topic revision: r10 - 18 Feb 2017, GeorgeClark - This page was cached on 21 Sep 2017 - 20:37.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License