Bugzilla – Attachment 90228 Details for
Bug 157453
rug with local yum repository: download failed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
Patch needed to allow a hostname in "dir" and "file" url's
zypp-media-file_w_hostname.dif (text/plain), 1.21 KB, created by
Marius Tomaschewski
on 2006-06-19 14:07:18 UTC
(
hide
)
Description:
Patch needed to allow a hostname in "dir" and "file" url's
Filename:
MIME Type:
Creator:
Marius Tomaschewski
Created:
2006-06-19 14:07:18 UTC
Size:
1.21 KB
patch
obsolete
>Index: zypp/Url.cc >=================================================================== >--- zypp/Url.cc (Revision 3658) >+++ zypp/Url.cc (Arbeitskopie) >@@ -180,7 +180,6 @@ > addUrlByScheme("hd", ref); > addUrlByScheme("cd", ref); > addUrlByScheme("dvd", ref); >- addUrlByScheme("dir", ref); > addUrlByScheme("iso", ref); > > // don't show empty authority >@@ -195,6 +194,7 @@ > ref->config("rx_username", ""); // username or > ref->config("rx_password", ""); // password ... > addUrlByScheme("file", ref); >+ addUrlByScheme("dir", ref); > > // ===================================== > ref.reset( new UrlBase()); >Index: zypp/media/MediaDIR.cc >=================================================================== >--- zypp/media/MediaDIR.cc (Revision 3658) >+++ zypp/media/MediaDIR.cc (Arbeitskopie) >@@ -46,12 +46,6 @@ > false ) // does_download > { > MIL << "MediaDIR::MediaDIR(" << url_r << ")" << endl; >- if( !url_r.getHost().empty()) >- { >- ZYPP_THROW(MediaBadUrlException(url_r, >- "Hostname not allowed in the Url" >- )); >- } > } > > ///////////////////////////////////////////////////////////////////
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 157453
: 90228