Project

General

Profile

Bug #7599

Broken links in exercice

Added by Torkil Zachariassen over 4 years ago. Updated about 4 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
Category:
Exercises
Target version:
Start date:
30/03/2015
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

Various links from php files in /main/exercice/ fail as '&' is used building the links.

For example: overview.php creates broken link(s) to result.php when a test has been taken previously.
The request becomes

http://example.com/main/exercice/result.php?cidReq=DANSKT8&id_session=223&gidReq=0&origin=&id=23299&id_session=223&height=500&width=950

And the response is a <em>403 Forbidden</em>

It seems some 'amp;'s have sneeked in here and there.

This was resolved by replacing '&' with '&' where appropriate in main/exercice/*.php

A patch called fix_amp.patch is attached.

Best regards ...torkil... chamilo-lms-1.9.10.2 php-5.4.16 mariadb-5.5.41 httpd-2.4.6 centos-release-7 Linux 3.10.0-123.20.1.el7.x86_64


Files

fix_amp.patch (7.47 KB) fix_amp.patch Replace '&amp;' with '&' in exercice/*php Torkil Zachariassen, 30/03/2015 16:33

Associated revisions

Revision 1d202e9e (diff)
Added by Julio Montoya about 4 years ago

Fix URL replace & with & see #7599

History

#1

Updated by Yannick Warnier over 4 years ago

  • Target version set to 1.10.0
#2

Updated by Julio Montoya about 4 years ago

  • Status changed from New to Needs testing

I just replaced those characters in 1.10.x

#3

Updated by Yannick Warnier about 4 years ago

Will close in 5 days if feedback not provided ;-)

#4

Updated by Yannick Warnier about 4 years ago

  • % Done changed from 50 to 90
#5

Updated by Yannick Warnier about 4 years ago

  • Status changed from Needs testing to Bug resolved
  • Assignee set to Julio Montoya
  • % Done changed from 90 to 100

Also available in: Atom PDF