comparison hgweb.cgi @ 28342:bd05d38a1002

chgserver: use basename for socket symlink Previously we use full path and the symlink may point to outside (unsafe) world if the directory is moved. This patch fixes it by only linking to basename of the target. Therefore the symbolic link and socket files will always stay in the same directory.
author Jun Wu <quark@fb.com>
date Fri, 04 Mar 2016 13:18:02 +0000
parents 4b0fc75f9403
children 47ef023d0165
comparison
equal deleted inserted replaced
28341:8286f551b7ee 28342:bd05d38a1002