PrestaShop/PrestaShop — pull request #2025 by zimmi1 (2014-08-01 09:12:05+00:00)
Title: Force webservice rewrite to "api/" with the slash

The "?" after ^api/ makes the slash optional (? = 0 or 1 time for the last group or char). If we use a friendly url which begins with api, the visitor gets redirected to the webservice, and never gets the page. Try it for example with the friendly url "apiculture" (beekeeping :-) ).