#1968 closed defect (fixed)
wiki linkify of commit logs doesn't handle svn+ssh:// links
Reported by: | anonymous | Owned by: | Christian Boos |
---|---|---|---|
Priority: | low | Milestone: | 0.9 |
Component: | wiki system | Version: | 0.8.4 |
Severity: | trivial | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
In our commit logs we have references to svn paths in the form svn+ssh://… trac converts this to a ssh:// url instead of svn+ssh:// url. trac should have support for parsing standard svn+<encapsulation>: links.
Attachments (0)
Change History (4)
comment:1 by , 19 years ago
Milestone: | → 0.9 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 19 years ago
Yup. Just looked up the RFC 2396:
scheme = alpha *( alpha | digit | "+" | "-" | "." )
The change will have for consequence that CamelCase:CamelCase will not be recognized as two WikiPageNames separated by a colon, but rather as a scheme plus some unrecognized content.
The InterWiki feature also introduces this change, so that's OK for me (in the InterWiki context, CamelCase:CamelCase would be the CamelCase page in the CamelCase wiki, e.g. MeatBall:CamelCase)
comment:4 by , 19 years ago
Component: | log view → wiki |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Implemented the above in r2134
formatter.py
\w+):(?P<stgt>'[^']+'|\"[^\"]+\"|((\|(?=[^| ])|[^| ])*[^|'~_\., \)]))))",\w+):(?P<ltgt>[^\] ]+)(?: (?P<label>.*?))?\])",Just wondering if there would be any adverse side effects. Probably not.