Asterisk in Pathname | Yahoo Special Script?

  • Thread starter Thread starter 0rthodontist
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on the use of an asterisk (*) in URLs, specifically in Yahoo and web archive links. Users propose that the asterisk serves as a separator between the page path and parameters, allowing for a broader range of characters in parameters without requiring URL encoding. This method contrasts with the standard use of a question mark (?) for separating parameters. The participants confirm that this approach is not widely documented but appears to be a practical solution for handling complex URLs.

PREREQUISITES
  • Understanding of URL structure and components
  • Familiarity with web server behavior and URL parsing
  • Knowledge of URL encoding practices
  • Basic comprehension of web protocols and standards
NEXT STEPS
  • Research the role of URL encoding in web development
  • Explore web server configuration and URL rewriting techniques
  • Learn about the differences between URL parameters and path segments
  • Investigate the use of asterisks in other programming contexts
USEFUL FOR

Web developers, SEO specialists, and anyone interested in URL optimization and web server functionality will benefit from this discussion.

0rthodontist
Science Advisor
Messages
1,229
Reaction score
0
I have a bunch of links that are like

Code:
[URL]http://us.rd.yahoo.com/dailynews/rss/topstories/*http://news.yahoo.com/s/ap/20061105/ap_on_re_mi_ea/iraq
[/URL]

(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?
 
Last edited by a moderator:
Computer science news on Phys.org
Here's another example
Code:
http://web.archive.org/web/*/https://www.physicsforums.com/
which might help answer your question. I'm curious to know the answer as well.
 
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:

Similar threads

Replies
3
Views
5K
  • Sticky
  • · Replies 33 ·
2
Replies
33
Views
12K
  • · Replies 91 ·
4
Replies
91
Views
9K
  • · Replies 58 ·
2
Replies
58
Views
9K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 3 ·
Replies
3
Views
767
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 29 ·
Replies
29
Views
11K