Jump to content

Using # on Unix


Paul-D

Recommended Posts

Hi this is not a PHP problem it is a unix/linux problem.I have been going through my banking website and found a folder /#/login

 

I have never seen # used as a folder. Can someone tell me if I can do this and what symbols are available.

Link to comment
Share on other sites

6 minutes ago, Paul-D said:

I have never seen # used as a folder. Can someone tell me if I can do this and what symbols are available.

Don't do it. Whoever did it probably thought they were being clever, but now you come along and you have no idea what the significance of it is.

Name stuff appropriately.

Link to comment
Share on other sites

This looks totally mixed up

Quote

Hi this is not a PHP problem

right

Quote

it is a unix/linux problem

not really, this is just a guess from you

Quote

I have been going through my banking website

what "banking website"? As you don't seem to be firm with the technology, i would think it's not YOUR website, more like the website of the bank you are customer at.

and the website is accessed via URL - that has plain nothing to to with any "folder" as i think you mean from a filesystem - except that there's a common fallback.

Quote

and found a folder /#/login

And the syntax for a URL is documented:

https://en.wikipedia.org/wiki/URL#Syntax

Link to comment
Share on other sites

If you're talking about just seeing /#/login in the URL, then the # isn't a folder name.  The # denote a fragment identifier.  The /login is likely then used by some Javascript on the page to determine what content to display.  This was commonly used for web applications prior to the advanced history API becoming available in modern browsers, and is still commonly used when you need to maintain high backwards compatibility which a bank likely does.

 

If you actually mean a file system folder with # as it's name, then it's a dumb idea and who knows why they did it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.