The outbreak has its origins in the Franco-Prussian War of 1870 to 1871 , where unvaccinated French prisoners of war infected the German civilian population , before the virus then spread to all corners of Europe .