Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Dir.'/smilies versus Dir.'smilies in smilies.inc.php  (Read 3775 times)

0 Members and 1 Guest are viewing this topic.

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Dir.'/smilies versus Dir.'smilies in smilies.inc.php
« on: September 18, 2005, 06:45:30 am »

A recent message regarding a 'bug' in cpg1.33 :

Quote
in functions.inc.php ~line 1250

Code:
$thumb_paths[] = $THEME_DIR.'/images/';should read

Code:
$thumb_paths[] = $THEME_DIR.'images/';
otherwise you'll get pathes like
cpg/themes/classic//images/thumb_wmv.gif 

Got me thinking 'what if?', so I did a search of the contents of all the 1.4x files for [  Dir.'/   ]
Two instances turn up in smilies.inc.php.  Is this something to be concerned about?


Dennis
« Last Edit: October 21, 2005, 11:33:30 pm by GauGau »
Logged
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Dir.'/smilies versus Dir.'smilies in smilies.inc.php
« Reply #1 on: October 21, 2005, 11:33:13 pm »

looking at the cpg1.4.x output, everything appears to be OK (no double slashes), so I guess it's OK.
Logged
Pages: [1]   Go Up
 

Page created in 0.041 seconds with 20 queries.