MediaDIR::MediaDIR( const Url & url_r,
const Pathname & /*attach_point_hint_r*/ )
: MediaHandler( url_r, url_r.getPathName(),
- "/", // urlpath at attachpoint
+ "/", // urlpath below attachpoint
false ) // does_download
{
MIL << "MediaDIR::MediaDIR(" << url_r << ")" << endl;
{
if(next)
ZYPP_THROW(MediaNotSupportedException(url()));
- MediaSourceRef media(new MediaSource("dir", _url.getPathName()));
+ MediaSourceRef media(new MediaSource("dir", attachPoint().asString()));
setMediaSource(media);
}