Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

links from perldoc to rt.perl.org bug reports seem to be broken

by rsFalse (Chaplain)
on Sep 02, 2017 at 13:46 UTC ( [id://1198581]=perlquestion: print w/replies, xml ) Need Help??

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1198581]
Approved by Laurent_R
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-24 21:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found