Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return an empty string instead of a hyphen as IP address #2

Merged
merged 1 commit into from Aug 26, 2020
Merged

Return an empty string instead of a hyphen as IP address #2

merged 1 commit into from Aug 26, 2020

Conversation

mibe
Copy link

@mibe mibe commented Apr 26, 2020

The default value for the IP address in the yourls code is usually an empty string, not an hyphen.
Example 1 Example 2
The hyphen would even get removed when sanitized in the yourls_sanitize_ip() function.

@wlabarron wlabarron added the enhancement New feature or request label Aug 26, 2020
@wlabarron wlabarron merged commit d3fb37a into wlabarron:master Aug 26, 2020
@wlabarron
Copy link
Owner

Sorry for late response, didn't see this come in! Thank you for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants