Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 304434 Details for
Bug 261961
Yum does not like non-ascii package names
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
encode to utf-8 just before calling urlgrabber
yum-unicode-package-name.patch (text/plain), 1.21 KB, created by
Toshio Ernie Kuratomi
on 2008-05-03 01:12:40 UTC
(
hide
)
Description:
encode to utf-8 just before calling urlgrabber
Filename:
MIME Type:
Creator:
Toshio Ernie Kuratomi
Created:
2008-05-03 01:12:40 UTC
Size:
1.21 KB
patch
obsolete
>diff --git a/yum/yumRepo.py b/yum/yumRepo.py >index 3815ced..02fa809 100644 >--- a/yum/yumRepo.py >+++ b/yum/yumRepo.py >@@ -624,10 +624,11 @@ class YumRepository(Repository, config.RepoConf): > ug.opts.user_agent = default_grabber.opts.user_agent > > remote = url + '/' + relative >- >+ remote = remote.encode('utf-8') >+ encodedtext = text.encode('utf-8') > try: > result = ug.urlgrab(remote, local, >- text=text, >+ text=encodedtext, > range=(start, end), > ) > except URLGrabError, e: >@@ -640,7 +641,9 @@ class YumRepository(Repository, config.RepoConf): > > else: > try: >- result = self.grab.urlgrab(relative, local, >+ encodedrelative = relative.encode('utf-8') >+ encodedtext = text.encode('utf-8') >+ result = self.grab.urlgrab(encodedrelative, local, > text = text, > range = (start, end), > copy_local=copy_local,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 261961
:
177681
|
299034
|
304434
|
304439