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

Fix for issue 47 (Can't create new post on windows) #59

Merged
merged 1 commit into from
Mar 21, 2016

Conversation

Laokoont
Copy link

Here's a link to the original issue

Paths are stored in database in UNIX-format (using ordinary dash as directory separator).
File path on Windows are using back-dash instead of ordinary one - that's why the search query fails to return a post.

Fixed by replacing all back-dashes with an ordinary ones in the source var when passing it to the DB query

… directory separator). File path on Windows are using back-dash instead of ordinary one - that's why the search query fails to return a post.

Fixed by replacing all back-dashes with an ordinary ones in the sourse var when passing it to the DB query
@jaredly
Copy link
Owner

jaredly commented Mar 21, 2016

cool! thanks for fixing. looks great

jaredly added a commit that referenced this pull request Mar 21, 2016
Fix for issue 47 (Can't create new post on windows)
@jaredly jaredly merged commit aab15d7 into jaredly:master Mar 21, 2016
@Laokoont Laokoont deleted the issue47 branch March 22, 2016 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants