Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 254123 Details for
Bug 345229
app-admin/webapp-config fails to write content file with non-ascii filenames
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
UTF-8 encode filenames written to the content file.
webapp-config-utf8.diff (text/plain), 428 bytes, created by
Akos Szalkai
on 2010-11-12 18:54:30 UTC
(
hide
)
Description:
UTF-8 encode filenames written to the content file.
Filename:
MIME Type:
Creator:
Akos Szalkai
Created:
2010-11-12 18:54:30 UTC
Size:
428 bytes
patch
obsolete
>--- content.py-ORIG 2006-12-30 19:38:36.000000000 +0100 >+++ content.py 2010-11-12 19:36:44.000000000 +0100 >@@ -290,7 +290,7 @@ > fd = os.open(self.appdb(), os.O_WRONLY | os.O_CREAT, > self.__perm(0600)) > >- os.write(fd, '\n'.join(values)) >+ os.write(fd, '\n'.join(values).encode('utf-8')) > > os.close(fd) > except Exception, e:
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 345229
: 254123