Project

General

Profile

Bug #7491

Previsualization shows hidden files

Added by Olivier CORRE over 4 years ago. Updated about 4 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
Category:
Documents
Target version:
Start date:
29/01/2015
Due date:
% Done:

100%

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

Description

In 1.9.10, previsualization of documents from user_portal.php (before entering course) shows hidden and protected files. Cf capture.


Files

Associated revisions

Revision 09e59171 (diff)
Added by Julio Montoya over 4 years ago

Hides "protected" folders see #7491

History

#1

Updated by Julio Montoya over 4 years ago

  • Status changed from New to Needs more info
#2

Updated by Olivier CORRE over 4 years ago

It was ON by default, I disabled it since students can access files they shouldn't see.

#3

Updated by Julio Montoya over 4 years ago

Olivier CORRE wrote:

It was ON by default, I disabled it since students can access files they shouldn't see.

I just added a fix here:

https://github.com/chamilo/chamilo-lms/commit/09e5917144e33e5e5e37efce9c7ec76eb9289dcb

#4

Updated by Yannick Warnier over 4 years ago

  • Target version changed from 1.9.10 to 1.10.0

Merci de classer les nouveaux bugs pour la version 1.10. La branche 1.9.x servira uniquement pour les correctifs de sécurité dorénavant.

#5

Updated by Yannick Warnier over 4 years ago

  • Category set to Documents
  • Status changed from Needs more info to Needs testing
  • % Done changed from 0 to 90

Can I consider this fixed?
The fix offered by Julio is about 15 lines long, so it should be easy to apply on 1.9.10 or 1.9.8 and verify.

#6

Updated by Yannick Warnier over 4 years ago

Will be closed in 5 days time if no feedback is provided.

#7

Updated by Olivier CORRE over 4 years ago

Works fine.

#8

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