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


    User Avatar
    Science Advisor

    I have a bunch of links that are like

    Code (Text):
    (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


    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    Here's another example
    Code (Text):

    which might help answer your question. I'm curious to know the answer as well.
  4. Nov 5, 2006 #3


    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