Re: [viewvc-dev] multibyte characters in REQUEST_URI can't converted to correct PATH_INFO
"C. Michael Pilato" <[email protected]> Thu, 25 Apr 2013 11:45:50 -0400
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.devel |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
------=_Part_3729_752523216.1366904754136 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 04/25/2013 09:02 AM, jianjun Wang wrote: > Recently I setup subverion edge by collabnet, viewvc works fine except > browsing repository file entry which contains Chinese > characters, it will return HTTP 404 when browsing these entryies. What operating system and locale are you running on your server? What does the server's access_log report as the URL at which your request was aimed? Can ViewVC successfully list the parent directory of the file whose name is Chinese-ful? What URL does ViewVC generate for the link behind that file's name? I ask because on my own server, ViewVC behaves as expected here. I've seen some issues over the years with different web browsers and servers causing problems (notoriously, Microsoft's software), but if you are using Edge the= n we may at least assume Apache as your web server software. I'm also on the CollabNet discussion forums, and saw today a similar post -= - perhaps by yourself, even -- which reported issues with a file named "=E6=9B=BF=E6=8D=A2=E6=96=87=E4=BB=B6" In that case, the file's name as embedded in the URL was: "%E6%9B%BF%E6%8D%A2%E6%96%87%E4%BB%B6" If I drop those characters into a UTF8-encoded text file and hexdump the file, I see this sequence: e6 9b bf e6 8d a2 e6 96 87 e4 bb b6 which appears to match the URL that ViewVC is being asked to handle. But as I indicated, this works fine on my machine. That said, my machine i= s a Linux box with a UTF8 locale. (Hence my questions above about your own environment.) --=20 C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Enterprise Cloud Development ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=3D4251&dsMessageId=3D3= 054296 To unsubscribe from this discussion, e-mail: [[email protected]= .org]. ------=_Part_3729_752523216.1366904754136 Content-Type: application/pgp-signature; name=signature.asc Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJReU+uAAoJEPXg8AH+aBMz/XQQAL1bqk1JfxRb2mSGqJ9EG2nu kFdZ6oyMGPwx2P6gzuIK445L+MzV/91421IAPIogVzSUe407FWwy8UATl7bQmfjL OlhWpuIa4BRFb9q/p3BCR2KujpFpmdttPcvYXmliYgJ3ynGR/ct2upqK7wKvL1Np OPIRWeAdOK8imwvBrcdj7BUO++RKjFZfm4Kz9btfjPzxaQfBXMYkYG4GUaMGxQLT zIGKVjRWP6Oxm+mvKxyyzujlXZRhmLqLXzi8Z+OKZ+arEk28+r6i9SJ2n8MctoZU 66GPwRTZiLaB/oCSdXyNsK90gJppuezeNBgrH9ZXGIPZ3Pvl7EiDA+LVZKVO4f0A zSj9EfqiRqzlKT+k/pSCJ+znSMXPluJruycS8qaYEnjTGfxARItWBNZ8cbHdfm+V j67Qu77x3iAPsa60rWy+uLnf0CV48V0JploBMu3MJqwWGrvBgGwpo7zDJwPjAhYW s/56UCvELU7RwJDr5m8aWbV7W6TV/A59DdqheTxEiyLAuBzL6JZrLCjIiB2vDt5W ZVdS46nHqi/TLrXmuZrAWjFCkuBL0RjtaokXMjj4111QsMhOwlytHmwNVor2Tzkd mml9GoRZruPpYM65sSSoq/SqqWLtxwHdPFiDkxCEYNpTGlDLZ3y8pMEe11kZHb/L WSSohAjiqgRzxftGOKUU =k7rX -----END PGP SIGNATURE----- ------=_Part_3729_752523216.1366904754136--