rsFalse has asked for the wisdom of the Perl Monks concerning the following question:

Hello,

I was reading perldelta, and tried to access any bug report by hyperlink, e.g. [perl #128187], which shows me
http://search.cpan.org/perldoc/https:#/rt.perl.org/Public/Bug/Display.html?id=128187
when mouse over. If I open it, my firefox shows strange url
http://search.cpan.org/perldoc/https:#%2frt.perl.org%2fPublic%2fBug%2fDisplay.html%3fid%3d128187
and CPAN says: "Not found"

Replies are listed 'Best First'.
Re: links from perldoc to rt.perl.org bug reports seem to be broken
by haukex (Archbishop) on Sep 02, 2017 at 15:30 UTC
Re: links from perldoc to rt.perl.org bug reports seem to be broken
by kcott (Archbishop) on Sep 04, 2017 at 00:13 UTC

    G'day rsFalse,

    "... shows strange url ..."

    Those are just standard escapes for characters which might otherwise be misinterpreted.

    $ perl -E 'say sprintf "%%%02x", ord for qw{/ ? =}' %2f %3f %3d

    In this case, they all occur in the fragment identifier, in which '/' is not a pathname separator; '?' does not introduce a query string; and, '=' is not a key-value separator.

    Obviously, that shouldn't be a fragment identifier (the '#' should be a '/'); and the URI shouldn't have 'http://search.cpan.org/perldoc/' at the beginning; but your (or, indeed, any) browser has no way of knowing what it should be — it just deals with the URI it's been given.

    — Ken