1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Asterisk in pathname

  1. Nov 5, 2006 #1

    0rthodontist

    User Avatar
    Science Advisor

    I have a bunch of links that are like

    Code (Text):
    http://us.rd.yahoo.com/dailynews/rss/topstories/*http://news.yahoo.com/s/ap/20061105/ap_on_re_mi_ea/iraq
    (that's one link)

    with an asterisk and then a new address in the middle of them. Is that for a special-purpose Yahoo script or is there a standard meaning for an asterisk in that context?
     
  2. jcsd
  3. Nov 5, 2006 #2

    robphy

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    Here's another example
    Code (Text):

    http://web.archive.org/web/*/https://www.physicsforums.com/
    which might help answer your question. I'm curious to know the answer as well.
     
  4. Nov 5, 2006 #3

    -Job-

    User Avatar
    Science Advisor

    I think it's used as a separator to easily distinguish a page parameter from the page path. Generally a "?" followed by name/value pairs joined by "&" is used, but what's probably happening is that a web server splits the url at the asterisk, the first element being the path, the second the parameter. One advantage of this approach, that i can think of, is that you can have a wider variety of chars in the parameter without them being URL encoded.
     
    Last edited: Nov 5, 2006
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Asterisk in pathname
Loading...