[Bug 4303] New: Hgweb Graph showing unrecognized charachters on some branch names.
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Sun Jul 13 12:33:11 CDT 2014
http://bz.selenic.com/show_bug.cgi?id=4303
Priority: normal
Bug ID: 4303
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: Hgweb Graph showing unrecognized charachters on some
branch names.
Severity: bug
Classification: Unclassified
OS: All
Reporter: bugzilla.stefano at gmail.com
Hardware: PC
Status: UNCONFIRMED
Version: 3.0.2
Component: hgweb
Product: Mercurial
Created attachment 1778
--> http://bz.selenic.com/attachment.cgi?id=1778&action=edit
Part of the source web page with invalid charachters.
Mercurial 3.0.2 on Windows with TortoiseHg 3.0.2, Python 2.7.6
and also:
Mercurial 3.0.2 on Linux Ubuntu 12.04.
Server Version: Apache/2.2.22 (Ubuntu)
mod_wsgi/3.3 Python/2.7.3
Other modules: Phusion_Passenger/4.0.3 PHP/5.3.10-1ubuntu3.10 with
Suhosin-Patch
When I try to browse a repository of mine, for some branches the name has
several unknown charachters/question marks at the beginning, thus causing also
the error:
"Error: SyntaxError: JSON.parse: bad control character in string literal at
line 1 column 133 of the JSON data".
at the next AJAX request, scrolling the page from the point the branch "with
the invalid chars" appears.
Stripping the involved branches in a local clone lets the hgweb graph page work
correctly.
The same charachters appear to be be present in our Redmine repository
interface (accesses the same repository), but only in the links to the involved
branches.
Attached a part of the script in the web source page with the involved
charachters (I have changed personal data).
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list