browser auto decoding urls

  • Автор темы Автор темы rastan
  • Дата начала Дата начала

rastan

Новичок
Регистрация
15.08.2012
Сообщения
15
Реакции
0
Баллы
1
hello,

i have a problem with urls.

when i enter this url into ZP debug browser bar, go to page tab or even when the url comes from email confirmation it's auto decoded.

this url:

Код:
Развернуть Свернуть Копировать
https://www.example.com/confirm-email/%2F%2BkLP6O8qnIT%2FuTeLGxorPMhiHU%3D?t=b9e34cc603eaf2482f4cf6ef39edfd72


it turn into:

Код:
Развернуть Свернуть Копировать
https://www.example.com/confirm-email//%2BkLP6O8qnIT/uTeLGxorPMhiHU%3D?t=b9e34cc603eaf2482f4cf6ef39edfd72


and this is server log (my own server for testing):

107.x.x.168 - - [09/Feb/2016:03:52:34 -0500] "GET /confirm-email/+kLP6O8qnIT/uTeLGxorPMhiHU=?t=b9e34cc603eaf2482f4cf6ef39edfd72 HTTP/1.1"


when i enter the same url into firefox and open it server log is this:

107.x.x.168 - - [09/Feb/2016:03:54:09 -0500] "GET /confirm-email/%2F%2BkLP6O8qnIT%2FuTeLGxorPMhiHU%3D?t=b9e34cc603eaf2482f4cf6ef39edfd72 HTTP/1.1"



as you can see same url is handled different and this cause of the email confirmation page is not loaded on target site.

also when i go to the same url via html ahref click the target url is opening fine.
 
Последнее редактирование:
hope you can help with this

thank you
 
I paste both requests in ProjectMaker, and look requests in fiddler:
Код:
Развернуть Свернуть Копировать
https://www.example.com/confirm-email/%2F%2BkLP6O8qnIT%2FuTeLGxorPMhiHU%3D?t=b9e34cc603eaf2482f4cf6ef39edfd72
GET /confirm-email//%2BkLP6O8qnIT/uTeLGxorPMhiHU%3D?t=b9e34cc603eaf2482f4cf6ef39edfd72 HTTP/1.1
Код:
Развернуть Свернуть Копировать
https://www.example.com/confirm-email//%2BkLP6O8qnIT/uTeLGxorPMhiHU%3D?t=b9e34cc603eaf2482f4cf6ef39edfd72
GET /confirm-email//%2BkLP6O8qnIT/uTeLGxorPMhiHU%3D?t=b9e34cc603eaf2482f4cf6ef39edfd72 HTTP/1.1

they are the same.
 
yes that's the problem. both urls are not the same but the result is.

project maker auto decodes %2F into /
 
Which zennoposter version do you have?
 
Why they not the same ? they are the same imho.
In first more uuencodet simbols, but browser always decode it.
 
firefox does not decode it. please check yourself.

Код:
Развернуть Свернуть Копировать
https://www.example.com/confirm-email/%2F%2BkLP6O8qnIT%2FuTeLGxorPMhiHU%3D?t=b9e34cc603eaf2482f4cf6ef39edfd72

copy this url in your firefox bar and press enter. you will see the url doesn't change.

then please copy the same url into project maker bar and press enter. you will see that the url is decoded before request.
 
how can i solve this matter ?
 
Please wait, i ask support
 
Should work fine in next build
 
thank you guys
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)