browser auto decoding urls

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.
 
Последнее редактирование:

rastan

Новичок
Регистрация
15.08.2012
Сообщения
15
Благодарностей
0
Баллы
1
hope you can help with this

thank you
 

rastan

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

Adigen

Client
Регистрация
28.07.2014
Сообщения
825
Благодарностей
651
Баллы
93
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.
 

rastan

Новичок
Регистрация
15.08.2012
Сообщения
15
Благодарностей
0
Баллы
1
yes that's the problem. both urls are not the same but the result is.

project maker auto decodes %2F into /
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 267
Благодарностей
5 853
Баллы
113
Which zennoposter version do you have?
 

rastan

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

Adigen

Client
Регистрация
28.07.2014
Сообщения
825
Благодарностей
651
Баллы
93
Why they not the same ? they are the same imho.
In first more uuencodet simbols, but browser always decode it.
 

rastan

Новичок
Регистрация
15.08.2012
Сообщения
15
Благодарностей
0
Баллы
1
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.
 

rastan

Новичок
Регистрация
15.08.2012
Сообщения
15
Благодарностей
0
Баллы
1
how can i solve this matter ?
 

Adigen

Client
Регистрация
28.07.2014
Сообщения
825
Благодарностей
651
Баллы
93
Please wait, i ask support
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Should work fine in next build
 

rastan

Новичок
Регистрация
15.08.2012
Сообщения
15
Благодарностей
0
Баллы
1
thank you guys
 

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