Go to file
Adrian Vollmer 28923ddd75 Fixed parsing of https_proxy environment variable
A proxy URI was parsed both in the function `proxy_read_environment()` in
`libfreerdp/core/proxy.c` and in the function
`freerdp_client_settings_parse_command_line_arguments()` in
`client/common/cmdline.c`. But only the latter was taking into account
that the URI can contain a user and password, which made it impossible
to use a proxy with authentication by just using an environment
variable like `https_proxy`.

The function `proxy_parse_uri()` in `libfreerdp/core/proxy.c` was
clearly not parsing the optional username and password.

This commit moves the code from `client/common/cmdline.c` to
`libfreerdp/common/settings.c` into a function `proxy_parse_uri()` so
redundant code is avoided. This function is then called in both
instances where a proxy URI is parsed.

Some minor adjustment were made to the code, so the `WLog_INFO()`
statement at the end works in both cases, where credentials were either
provided or not. Also, some error messages were added or clarified.

If the parsing of the environment variable fails, we ignore it entirely
(with a warning) and proceed.
2022-04-05 09:22:48 +02:00
.github Updated chat addresses. 2021-06-07 14:44:09 +02:00
channels Fixed #7753: Step calculation in YUV decoder (#7758) 2022-03-29 13:55:52 +02:00
ci/cmake-preloads Removed BUILTIN_CHANNELS 2022-02-23 10:43:46 +01:00
client Fixed parsing of https_proxy environment variable 2022-04-05 09:22:48 +02:00
cmake Removed BUILTIN_CHANNELS 2022-02-23 10:43:46 +01:00
compat/stdbool Added stdbool.h compat header 2021-06-18 11:32:16 +02:00
docs new: add some basic documentation about version dectction 2022-03-07 13:39:49 +01:00
external cmake: added external directory 2012-11-01 13:50:49 -04:00
include Fixed parsing of https_proxy environment variable 2022-04-05 09:22:48 +02:00
libfreerdp Fixed parsing of https_proxy environment variable 2022-04-05 09:22:48 +02:00
packaging new [packaging]: remove dependency to gstreamer 2022-03-07 13:39:49 +01:00
rdtk Fixed duplicated symbols 2022-03-03 11:26:48 +01:00
resources Added smartcard emulation layer 2022-01-11 12:34:43 +01:00
scripts Revert to default API level 21 2022-02-24 12:06:06 +01:00
server Fixed leak in shadow_client_logon 2022-03-28 15:52:59 +02:00
third-party cleanup cmake exports and pkg-config files 2016-01-12 17:32:33 +01:00
tools Fixes various akallabeth remarks 2022-02-24 08:52:25 +01:00
uwac Fixed duplicated symbols 2022-03-03 11:26:48 +01:00
winpr Fix #7754 remove last newline in convert_filedescriptors_to_file_list 2022-03-28 16:21:27 +02:00
.clang-format Updated format file. 2019-11-07 10:51:42 +01:00
.gitignore ignore .vs and out dir created by Visual Studio 2021-10-14 08:05:54 +02:00
.travis.yml Remove unused codec x264 2021-09-14 12:38:14 +02:00
ChangeLog new: update ChangeLog for 2.2.0 2020-07-20 14:23:01 +02:00
CMakeCPack.cmake Replaced CMAKE_[SOURCE|BINARY]_DIR with PROJECT_[SOURCE|BINARY]_DIR 2021-06-22 08:54:18 +02:00
CMakeCPackOptions.cmake.in cmake: fix package generation on Mac OS X 2013-09-09 21:42:25 -04:00
CMakeLists.txt new: add some basic documentation about version dectction 2022-03-07 13:39:49 +01:00
LICENSE FreeRDP 1.0: initial commit 2011-06-30 15:12:51 -04:00
README.md README.md: HTTP => HTTPS 2021-11-12 07:46:54 +01:00
SECURITY.md Create SECURITY.md 2021-04-12 10:21:13 +02:00

FreeRDP: A Remote Desktop Protocol Implementation

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Enjoy the freedom of using your software wherever you want, the way you want it, in a world where interoperability can finally liberate your computing experience.

Resources

Project website: https://www.freerdp.com/
Issue tracker: https://github.com/FreeRDP/FreeRDP/issues
Sources: https://github.com/FreeRDP/FreeRDP/
Downloads: https://pub.freerdp.com/releases/
Wiki: https://github.com/FreeRDP/FreeRDP/wiki
API documentation: https://pub.freerdp.com/api/

Matrix room : #FreeRDP:matrix.org (main) XMPP channel: #FreeRDP#matrix.org@matrix.org (bridged) IRC channel : #freerdp @ irc.oftc.net (bridged) Mailing list: https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Microsoft Open Specifications

Information regarding the Microsoft Open Specifications can be found at: https://www.microsoft.com/openspecifications/

A list of reference documentation is maintained here: https://github.com/FreeRDP/FreeRDP/wiki/Reference-Documentation

Compilation

Instructions on how to get started compiling FreeRDP can be found on the wiki: https://github.com/FreeRDP/FreeRDP/wiki/Compilation