Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Site URLs vary despite same semantics

by etj (Priest)
on Feb 22, 2025 at 13:30 UTC ( [id://11164060]=monkdiscuss: print w/replies, xml ) Need Help??

This is because the CGI variables are emitted in a random order - I expect there's a `keys` call.

I believe it would be better to sort those, so that semantically identical URLs with CGI args will always have the same canonical "spelling", so one can most easily see at a glance whether one has previously visited them.

Replies are listed 'Best First'.
Re: Site URLs vary despite same semantics
by choroba (Cardinal) on Feb 22, 2025 at 18:50 UTC
    I have no idea what this post is about. Can you give an example?

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

      He's referring to the fact that
      /index.pl?node_id=3184;displaytype=raw;ticker=yes
      and
      /index.pl?node_id=3184;ticker=yes;displaytype=raw
      are logically identical.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2025-11-09 11:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (65 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.