sleemanj / xinha

WYSIWYG HTML Editor Component (turns <textarea> into HTML editors)
http://trac.xinha.org/
Other
13 stars 2 forks source link

I can see subdirectories with php files and everything! (Trac #1570) #1570

Closed sleemanj closed 4 years ago

sleemanj commented 13 years ago

From within the editor, I can click on the Link icon to try and add a link, and it gives me a directory listing of my Xinha directory including contrib, examples, modules, plugins, popups, etcetera. How dare it!

Please tell me how to get rid of this horrible directory listing. I am appalled! I feel violated! I can't have them being able to read ANY of my directories!

deane@svsassoc.com

Reported by guest, migrated from http://trac.xinha.org/ticket/1570

sleemanj commented 13 years ago

guest commented:

Replying to [ticket:1570 guest]:

From within the editor, I can click on the Link icon to try and add a link, and it gives me a directory listing of my Xinha directory including contrib, examples, modules, plugins, popups, etcetera. How dare it!

Please tell me how to get rid of this horrible directory listing. I am appalled! I feel violated! I can't have them being able to read ANY of my directories!

As it turns out you can at least curb what is shown by overriding /plugins/scan.php ! Very SCARY GUYS! GRRR.

sleemanj commented 13 years ago

Not a bug. RTFM http://trac.xinha.org/wiki/Linker