* simplified if() statements
* use Url::FromString to skip HTTP(S) protocol checks
* get rid of webPath.back() function to exclude crashes
* Formatting
Signed-off-by: S. Kozyr <s.trump@gmail.com>
Moved Validate*Page functions to validate_and_format_contacts.hpp/.cpp
Moved validate_and_format_contacts tests to a separate CPP file
PR comments fixes
Fixed iOS build
Signed-off-by: S. Kozyr <s.trump@gmail.com>
Added call to ValidateAndFormat_* functions on social links edit.
Fixed contact:line validation. Empty string is now correct value
Signed-off-by: S. Kozyr <s.trump@gmail.com>