Opened 16 years ago

Closed 15 years ago

#91 closed enhancement (fixed)

Document quoting pipe characters in URLs

Reported by: grimoire Owned by: Dominic Hargreaves
Priority: normal Milestone:
Component: openguides Version: 0.52
Severity: normal Keywords: check
Cc:

Description

http://manchester.openguides.org/?id=The_White_Hart_Inn&version=2 shows http://www.thewhitehart.co.uk/home.asp?ID=1|0|0|0 which is a valid URL but which CGI::Wiki cannot autoformat. Also, trying to use it as the URL of a text link does not render properly.

Change History (6)

comment:1 Changed 16 years ago by grimoire

Component: london.openguides.orgopenguides
Owner: changed from Earle Martin to Dominic Hargreaves

comment:2 Changed 16 years ago by Ivor Williams

As a workaround, you can use %7c in the URL for a pipe, and this seems to work.

as in [http://www.thewhitehart.co.uk/home.asp?ID=1%7c0%7c0%7c0 The White Hart]

comment:3 Changed 15 years ago by Dominic Hargreaves

Keywords: check added

Hmm. I can't think of a good way of fixing this without upsetting the wiki formatting syntax. I think we need to live with this and quote the pipes.

comment:4 Changed 15 years ago by Dominic Hargreaves

Summary: Valid pipe characters in URLs break CGI::Wiki formattingDocument quoting pipe characters in URLs
Type: defectenhancement

I'm leaving this ticket open so that this can be documented somewhere

comment:5 Changed 15 years ago by Dominic Hargreaves

Status: newassigned

comment:6 Changed 15 years ago by Dominic Hargreaves

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.