how i should solve slash / problem

J

Jon Skeet [C# MVP]

TalalSaleem said:
if i put slash("/") at the end of url then .aspx page couldn't load the css
and images.

example: http://testURL/TestPortal/test5/test16.aspx/

after / insert at the end of url website will loose its formattings and its
images..

Well, the easiest thing to do would be to test whether there's a path
at the end and return an error page if so. But frankly, this has
presumably only happened because of a broken link somewhere, or someone
*trying* to mess up. Unless there's a security problem, I wouldn't
worry too much.
 
I

Ignacio Machin ( .NET/ C# MVP )

if i put slash("/") at the end of url then .aspx page  couldn't load thecss
and images.

example:http://testURL/TestPortal/test5/test16.aspx/

after / insert at the end of url website will loose its formattings and its
images..

And why you want to add the / at the end???
An / at the end of an url means that the path is a folder and to load
the default document in that folder
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top