Extrange get param

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Extrange get param

egoitz@sarenet.es
Good night,

I am trying to do some get requests to some plugin from Roundcube, and I’m seeing there is one parameter which I don’t really know what can be… The param is  the last one:

GET /?_task=mail&_action=list&_refresh=1&_mbox=INBOX&_remote=1&_unlock=loading1586649400357&_=1586649400116 HTTP/1.1.

What exactly is the _ param (the last one)… how is it created?… I guess it could be something as the epoch in simileconds… but later it increases one by one… could anyone know?,

Regards,


_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Extrange get param

A.L.E.C
On 12.04.2020 02:04, [hidden email] wrote:

> Good night,
>
> I am trying to do some get requests to some plugin from Roundcube, and
> I’m seeing there is one parameter which I don’t really know what can be…
> The param is  the last one:
>
> GET
> /?_task=mail&_action=list&_refresh=1&_mbox=INBOX&_remote=1&_unlock=loading1586649400357&_=1586649400116
> HTTP/1.1.
>
> What exactly is the _ param (the last one)… how is it created?… I guess
> it could be something as the epoch in simileconds… but later it
> increases one by one… could anyone know?,

It is a cache buster added automatically by jQuery to ajax requests.
Normally you can just ignore it.

--
Aleksander Machniak
Kolab Groupware Developer        [https://kolab.org]
Roundcube Webmail Developer  [https://roundcube.net]
----------------------------------------------------
PGP: 19359DC1 # Blog: https://kolabian.wordpress.com
_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Extrange get param

egoitz@sarenet.es
Thanks a lot Aleksander,

I’m trying to write something for automating some tasks with a Roundcube plugin (you know calls from a perl script to Roundcube) and although other calls work fine for me… the one I saw… has that _ param and I really didn’t know how to… manage that,

Cheers

El 12 abr 2020, a las 9:13, Aleksander Machniak <[hidden email]> escribió:

On 12.04.2020 02:04, [hidden email] wrote:
Good night,

I am trying to do some get requests to some plugin from Roundcube, and
I’m seeing there is one parameter which I don’t really know what can be…
The param is  the last one:

GET
/?_task=mail&_action=list&_refresh=1&_mbox=INBOX&_remote=1&_unlock=loading1586649400357&_=1586649400116
HTTP/1.1.

What exactly is the _ param (the last one)… how is it created?… I guess
it could be something as the epoch in simileconds… but later it
increases one by one… could anyone know?,

It is a cache buster added automatically by jQuery to ajax requests.
Normally you can just ignore it.

--
Aleksander Machniak
Kolab Groupware Developer        [https://kolab.org]
Roundcube Webmail Developer  [https://roundcube.net]
----------------------------------------------------
PGP: 19359DC1 # Blog: https://kolabian.wordpress.com
_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users


_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users