Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Don't save a record if the redirectSrcUrlParsed is empty #35

Closed
wants to merge 1 commit into from

Conversation

timkelty
Copy link
Contributor

Since it never makes sense to save an empty pattern.

Once dynamic values are parsed, an empty value is possible,
especially if the pattern contains an {%if object.myField %}...

Also/unrelated: was going to rename getRedirectByRedirectSrcUrl to getRedirectByRedirectSrcUrlParsed, but I'll leave that decision up to you.

since it never makes sense to save an empty pattern.

Once dynamic values are parsed, an empty value is possible,
especially if the pattern contains an {%if object.myField %}...
@timkelty
Copy link
Contributor Author

@khalwat any update, or need any more info?

@timkelty timkelty changed the title Don't save a record if the redirectSrcUrlParsed is empty, Don't save a record if the redirectSrcUrlParsed is empty Sep 23, 2016
@khalwat
Copy link
Contributor

khalwat commented Sep 23, 2016

This was rolled in

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants