Unable to extract correct verification link for WP.com

christer

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

New Zennoposter user here and am very pleased with it.

I'm trying to create accounts with Wordpress.com, and when I try to extract the verification link after registration it will get 'corrupted' I guess(?) and not be the correct link.

For example, when I hover over the verification link in a normal browser the link looks like the top link, and the bottom verification link is what ZP is pulling:

HTML:
https://public-api.wordpress.com/bar/?stat=groovemails-events&bin=wpcom_email_click&redirect_to=https%3A%2F%2Fsignup.wordpress.com%2Factivate%2F1c35d6a365606e36&sr=1&signature=1a44dcbb5cb1e56acb902b3437f9fedc&user=105518886&_e=eyJibG9nX2lkIjo1ODM2MDg2LCJibG9nX2xhbmciOiJlcy1FUyIsInNpdGVfaWRfbGFiZWwiOiJ3cGNvbSIsIl91aSI6MTA1NTE4ODg2LCJwb3N0X2lkIjowLCJkYXRlX3NlbnQiOiIyMDE2LTA1LTIwIiwiZW1haWxfaWQiOiI3OGQ5NzEzMDFkMmE3NzBiYjExNjYxNzBhMGI2NDJjZCIsImVtYWlsX25hbWUiOiJkZWx0YV9hY3RpdmF0aW9uIiwiYW5jaG9yX3RleHQiOiJDb25maXJtYXIgYWhvcmEiLCJfdXQiOiJ3cGNvbTp1c2VyX2lkIiwiX3VsIjoidGFsaXNoYXpzZWRibG9nIiwiX2VuIjoid3Bjb21fZW1haWxfY2xpY2siLCJfdHMiOjE0NjM3NzI5NzcxMzUsImJyb3dzZXJfdHlwZSI6InBocC1hZ2VudCIsIl9hdWEiOiJ3cGNvbS10cmFja3MtY2xpZW50LXYwLjMiLCJibG9nX3R6IjoiMCIsInVzZXJfbGFuZyI6ImVuIn0&_z=z

https://public-api.wordpress.com/bar/?stat=groovemails-events&bin=wpcom_email_click&redirect_to=https%3A%2F%2Fsignup.wordpress.com%2Factivate%2F1c35d6a365606e36&sr=1&signature=1a44dcbb5cb1e56acb902b3437f9fedc&user=105518886&_e=eyJibG9nX2lkIjo1ODM2MDg2LCJibG9nX2xhbmciOiJlcy1FUyIsInNpdGVfaWRfbGFiZWwiOiJ3cGNvbSIsIl91aSI6MTA1NTE4ODg2LCJwb3N0X2lkIjowLCJkYXRlX3NlbnQiOiIyMDE2LTA1LTIwIiwiZW1haWxfaWQiOiI3OGQ5NzEzMDFkMmE3NzBiYjExNjYxNzBhMGI2NDJjZCIsImVtYWlsX25hbWUiOiJkZWx0YV9hY3RpdmF0aW9uIiwiYW5jaG9yX3RleHQiOiJDb25maXJtYXIgYWhvcmEiLCJfdXQiOiJ3cGNvbTp1c2VyX2lkIiwiX3VsIjoidGFsaXNoYXpzZWRibG9nIiwiX2VuIjoid3Bjb21fZW1haWxfY2xpY2siLCJfdHMiOjE0NjM3NzI5NzcxMzUsImJyb3dzZXJfdHlwZSI6InBocC1hZ2VudCIsIl9hdWEiOiJ3cGNvbS10cmFja3MtY2xpZW50LXYwLjMiLCJibG9nX3R6IjoiMCIsInVzZXJfbGFuZyI6ImVuIn0&_z=z
Regex is the most confusing beast to me, I'm sure it's just a matter of using a different regex that ZP generated, but what is odd is when I check the email in ZP check emails the verification link is also different ... as if in ZP it doesn't 'see' the correct link either?

Thanks
 

christer

Новичок
Регистрация
08.07.2012
Сообщения
11
Благодарностей
0
Баллы
1
Forgot to add, this the regex that Zennoposter created from the link:

PHP:
(http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?
 

qzen4i

Client
Регистрация
01.05.2014
Сообщения
1 408
Благодарностей
314
Баллы
83
Hello, you only need to clear all amp; and the link will be correct link. how in the browser.
It`s not a bug.
 
Последнее редактирование:

christer

Новичок
Регистрация
08.07.2012
Сообщения
11
Благодарностей
0
Баллы
1
Hey thank you for the reply :-)

Ok, I see what you're talking about. So now I need to process the variable to clean out the amps;.

So now, I tried using the 'text processing' to clean the variable of the found link, but it doesn't seem to accept the variable. Is there another way to clean text strings in variables?

Thank you for your help.
 

qzen4i

Client
Регистрация
01.05.2014
Сообщения
1 408
Благодарностей
314
Баллы
83


operation with text, don`t how by eng it will be written )




and change it on nothing, or string.tab.
 

christer

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

qzen4i

Client
Регистрация
01.05.2014
Сообщения
1 408
Благодарностей
314
Баллы
83

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