Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What affects the URL on submission of the login form?


lorax

Recommended Posts

What could affect the URL when I click submit? If I turn on SE Safe URLs the problem I'm having goes away but leaves me with a seperate issue. When I look at the source for the form before sending it - the URL is fine. But when I submit it - the URL gets corrupted. Is there a function that evaluates the URL on form submit?

Apathy is a dominant gene - mutate.

Link to comment
Share on other sites

Ok I've narrowed the first part of the puzzle down to this line in login.php

 

$origin_href = tep_href_link($navigation->snapshot['page'], tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), $navigation->snapshot['mode']);

 

Since the actual file name is what gets corrupted (the OSCSID remains fine) then I assume that $navigation->snapshot['page'] is the next piece I need to focus on. Where does snapshot['page'] come from?

Apathy is a dominant gene - mutate.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...