To test:
1. Create a Portfolio page 2. Copy the URL for the page, e.g. https://vegas.wgtn.cat-it.co.nz/mahara/htdocs/view/view.php?id=8 3. Manually add "&foo[]=bar&foo[]=baz" to the end of the URL, e.g. https://vegas.wgtn.cat-it.co.nz/mahara/htdocs/view/view.php?id=8&foo[]=bar&foo[]=baz 4. Log out 5. Go to the manually altered URL you created in step 3 6. You should see the transient login screen. 7. Log in at the transient login screen.
Expected result: You should see your array variables at the end of the URL (possibly with explicity numeric keys; that's okay), e.g. https://vegas.wgtn.cat-it.co.nz/mahara/htdocs/view/view.php?id=8&foo[1]=bar&foo[2]=baz
Actual result: You Do not see the array variables at the end of the URL. And, you will see a warning in the logs: "[WAR] ec (lib/web.php:3205) htmlspecialchars() expects parameter 1 to be string, array given"
To test:
1. Create a Portfolio page /vegas. wgtn.cat- it.co.nz/ mahara/ htdocs/ view/view. php?id= 8 =bar&foo[ ]=baz" to the end of the URL, e.g. https:/ /vegas. wgtn.cat- it.co.nz/ mahara/ htdocs/ view/view. php?id= 8&foo[] =bar&foo[ ]=baz
2. Copy the URL for the page, e.g. https:/
3. Manually add "&foo[]
4. Log out
5. Go to the manually altered URL you created in step 3
6. You should see the transient login screen.
7. Log in at the transient login screen.
Expected result: You should see your array variables at the end of the URL (possibly with explicity numeric keys; that's okay), e.g. https:/ /vegas. wgtn.cat- it.co.nz/ mahara/ htdocs/ view/view. php?id= 8&foo[1] =bar&foo[ 2]=baz
Actual result: You Do not see the array variables at the end of the URL. And, you will see a warning in the logs: "[WAR] ec (lib/web.php:3205) htmlspecialchars() expects parameter 1 to be string, array given"