mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-18 02:44:03 -05:00
WPS: Remove trailing CR from subscription callback URLs
This cleans up the debug log a bit. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
3bde828098
commit
89a72e1c7f
@ -1003,6 +1003,8 @@ static void web_connection_parse_subscribe(struct upnp_wps_device_sm *sm,
|
|||||||
ret = HTTP_INTERNAL_SERVER_ERROR;
|
ret = HTTP_INTERNAL_SERVER_ERROR;
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
if (len > 0 && callback_urls[len - 1] == '\r')
|
||||||
|
callback_urls[len - 1] = '\0';
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
/* SID is only for renewal */
|
/* SID is only for renewal */
|
||||||
|
Loading…
Reference in New Issue
Block a user