URL address problem

  • Thread starter Thread starter fpbrat
  • Start date Start date
F

fpbrat

Hi,


I have a problem with .NET URLs.


ie something.com/something.aspx/


If I add the following to it


something.com/something.aspx/something.aspx/


it still resolves. Now,I thought it would return an error message.


Any ideas?


..Net Lost
 
What do you mean by "resolves"?
What methods/classes are you using?
Maybe some sample code would also help?

Based on what you are saying it sounds like the Socket classes will resolve
the IP address (something.com) from a full URL?
 
Thank you for the reply.
1. What do you mean by "resolves"?

By this I mean it still displays the same page. I thought an error
would be generated because something.com/*.aspx/*.aspx is not possible.
Is it?

Now here is a test you can try at MS website. It will better explain
the issue.

http://msdn.microsoft.com/netframework/downloads/samples/default.aspx

Then try
http://msdn.microsoft.com/netframework/downloads/samples/default.aspx/default.aspx

it will display the frame only now.

Why ?
 
Strange.. I also tried with with a local Apache server and it gives the same
behavior.

localhost:8080/mambo/index.php
localhost:8080/mambo/index.php/asdfasdfjasjflajsfjalsjdfajsdfasfasfasdf
localhost:8080/mambo/index.php/asdfasdfjasjflajsfjalsjdfajsdfasfasfasdf/asdfasdf/asfdasdf/asdfasdf/asdfasdfasdf/asdf

All of the above work fine - they return the index.php page.

Very strange indeed!
 
Back
Top