This website works better with JavaScript.
Home
Explore
Help
Sign In
mirrors
/
rspamd
mirror of
https://github.com/vstakhov/rspamd.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
159
Wiki
Activity
Browse Source
Fix path field in url:to_table method.
tags/1.0.0
Vsevolod Stakhov
9 years ago
parent
93e50b0d82
commit
5e6082be92
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
1
1
src/lua/lua_url.c
+ 1
- 1
src/lua/lua_url.c
View File
@@ -363,7 +363,7 @@ lua_url_to_table (lua_State *L)
lua_settable (L, -3);
}
if (u->
host
len > 0) {
if (u->
data
len > 0) {
lua_pushstring (L, "path");
lua_pushlstring (L, u->data, u->datalen);
lua_settable (L, -3);
Write
Preview
Loading…
Cancel
Save