Merge branch '4.2'

* 4.2:
  moved XSD to HTTPS
  moved XSD to HTTPS
This commit is contained in:
Fabien Potencier 2019-03-04 11:47:02 +01:00
commit ba953d984f
37 changed files with 37 additions and 37 deletions

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> xsi:schemaLocation="http://symfony.com/schema/routing https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="_twig_error_test" path="/{code}.{_format}"> <route id="_twig_error_test" path="/{code}.{_format}">
<default key="_controller">twig.controller.preview_error::previewErrorPageAction</default> <default key="_controller">twig.controller.preview_error::previewErrorPageAction</default>

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> xsi:schemaLocation="http://symfony.com/schema/routing https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="_profiler_home" path="/"> <route id="_profiler_home" path="/">
<default key="_controller">web_profiler.controller.profiler::homeAction</default> <default key="_controller">web_profiler.controller.profiler::homeAction</default>

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> xsi:schemaLocation="http://symfony.com/schema/routing https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="_wdt" path="/{token}"> <route id="_wdt" path="/{token}">
<default key="_controller">web_profiler.controller.profiler::toolbarAction</default> <default key="_controller">web_profiler.controller.profiler::toolbarAction</default>

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<import resource="routing.xml"> <import resource="routing.xml">
<default key="_controller">FrameworkBundle:Template:template</default> <default key="_controller">FrameworkBundle:Template:template</default>

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<import resource="routing.xml" controller="FrameworkBundle:Template:template" /> <import resource="routing.xml" controller="FrameworkBundle:Template:template" />
</routes> </routes>

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<import resource="routing.xml" controller="FrameworkBundle:Template:template"> <import resource="routing.xml" controller="FrameworkBundle:Template:template">
<default key="_controller">AppBundle:Blog:index</default> <default key="_controller">AppBundle:Blog:index</default>

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="app_blog" path="/blog" controller="AppBundle:Homepage:show"> <route id="app_blog" path="/blog" controller="AppBundle:Homepage:show">
<default key="_controller">AppBundle:Blog:index</default> <default key="_controller">AppBundle:Blog:index</default>

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="app_homepage" path="/" controller="AppBundle:Homepage:show" /> <route id="app_homepage" path="/" controller="AppBundle:Homepage:show" />

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="bar_route" path="/bar" controller="AppBundle:Bar:view" /> <route id="bar_route" path="/bar" controller="AppBundle:Bar:view" />
</routes> </routes>

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="baz_route" path="/baz" controller="AppBundle:Baz:view" /> <route id="baz_route" path="/baz" controller="AppBundle:Baz:view" />
</routes> </routes>

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<import resource="ba?.xml" /> <import resource="ba?.xml" />
</routes> </routes>

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<import resource="b?r.xml" /> <import resource="b?r.xml" />
</routes> </routes>

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<import resource="../controller/routing.xml" /> <import resource="../controller/routing.xml" />
<import resource="../controller/routing.xml" prefix="/api" name-prefix="api_" /> <import resource="../controller/routing.xml" prefix="/api" name-prefix="api_" />

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<import resource="../controller/routing.xml" prefix="/slash" name-prefix="a_" /> <import resource="../controller/routing.xml" prefix="/slash" name-prefix="a_" />
<import resource="../controller/routing.xml" prefix="/no-slash" name-prefix="b_" trailing-slash-on-root="false" /> <import resource="../controller/routing.xml" prefix="/no-slash" name-prefix="b_" trailing-slash-on-root="false" />

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="blog" path="/blog"> <route id="blog" path="/blog">
<default key="_controller"> <default key="_controller">

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="blog" path="/blog"> <route id="blog" path="/blog">
<default key="_controller"> <default key="_controller">

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="blog" path="/blog"> <route id="blog" path="/blog">
<default key="_controller"> <default key="_controller">

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="blog" path="/blog"> <route id="blog" path="/blog">
<default key="_controller"> <default key="_controller">

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> xsi:schemaLocation="http://symfony.com/schema/routing https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="localized"> <route id="localized">
<default key="_controller">MyBundle:Blog:show</default> <default key="_controller">MyBundle:Blog:show</default>

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="imported" path="/suffix"> <route id="imported" path="/suffix">
<default key="_controller">MyBundle:Blog:show</default> <default key="_controller">MyBundle:Blog:show</default>
</route> </route>

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="imported"> <route id="imported">
<default key="_controller">MyBundle:Blog:show</default> <default key="_controller">MyBundle:Blog:show</default>
<path locale="en">/suffix</path> <path locale="en">/suffix</path>

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<import resource="./imported-with-locale-but-not-localized.xml"> <import resource="./imported-with-locale-but-not-localized.xml">
<prefix locale="fr">/le-prefix</prefix> <prefix locale="fr">/le-prefix</prefix>
<prefix locale="en">/the-prefix</prefix> <prefix locale="en">/the-prefix</prefix>

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<import resource="./imported-with-locale.xml"> <import resource="./imported-with-locale.xml">
<prefix locale="fr">/le-prefix</prefix> <prefix locale="fr">/le-prefix</prefix>
<prefix locale="en">/the-prefix</prefix> <prefix locale="en">/the-prefix</prefix>

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="blog" path="/blog"> <route id="blog" path="/blog">
<default key="_controller"> <default key="_controller">

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="blog" path="/blog"> <route id="blog" path="/blog">
<default key="_controller"> <default key="_controller">

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="blog" path="/blog"> <route id="blog" path="/blog">
<default key="_controller"> <default key="_controller">

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="blog" path="/blog"> <route id="blog" path="/blog">
<default key="_controller"> <default key="_controller">

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> xsi:schemaLocation="http://symfony.com/schema/routing https://symfony.com/schema/routing/routing-1.0.xsd">
<route path="/test"></route> <route path="/test"></route>
</routes> </routes>

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> xsi:schemaLocation="http://symfony.com/schema/routing https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="myroute"></route> <route id="myroute"></route>
</routes> </routes>

View File

@ -2,7 +2,7 @@
<r:routes xmlns:r="http://symfony.com/schema/routing" <r:routes xmlns:r="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> xsi:schemaLocation="http://symfony.com/schema/routing https://symfony.com/schema/routing/routing-1.0.xsd">
<r:route id="blog_show" path="/blog/{slug}" host="{_locale}.example.com"> <r:route id="blog_show" path="/blog/{slug}" host="{_locale}.example.com">
<r:default key="_controller">MyBundle:Blog:show</r:default> <r:default key="_controller">MyBundle:Blog:show</r:default>

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> xsi:schemaLocation="http://symfony.com/schema/routing https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="blog_show" path="/blog/{slug}"> <route id="blog_show" path="/blog/{slug}">
<default key="_controller">MyBundle:Blog:show</default> <default key="_controller">MyBundle:Blog:show</default>

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> xsi:schemaLocation="http://symfony.com/schema/routing https://symfony.com/schema/routing/routing-1.0.xsd">
<foo>bar</foo> <foo>bar</foo>
</routes> </routes>

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> xsi:schemaLocation="http://symfony.com/schema/routing https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="blog_show" path="/blog/{slug}"> <route id="blog_show" path="/blog/{slug}">
<default key="_controller">MyBundle:Blog:show</default> <default key="_controller">MyBundle:Blog:show</default>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> xsi:schemaLocation="http://symfony.com/schema/routing https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="blog_show" path="/blog/{slug}"> <route id="blog_show" path="/blog/{slug}">
<default key="foo" xsi:nil="true" /> <default key="foo" xsi:nil="true" />

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd"> https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="blog" path="/blog"> <route id="blog" path="/blog">
<default key="_controller"> <default key="_controller">

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> xsi:schemaLocation="http://symfony.com/schema/routing https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="blog_show" path="/blog/{slug}" host="{locale}.example.com" methods="GET|POST put,OpTiOnS" schemes="hTTps"> <route id="blog_show" path="/blog/{slug}" host="{locale}.example.com" methods="GET|POST put,OpTiOnS" schemes="hTTps">
<default key="_controller">MyBundle:Blog:show</default> <default key="_controller">MyBundle:Blog:show</default>

View File

@ -2,7 +2,7 @@
<routes xmlns="http://symfony.com/schema/routing" <routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> xsi:schemaLocation="http://symfony.com/schema/routing https://symfony.com/schema/routing/routing-1.0.xsd">
<import resource="validpattern.xml" prefix="/{foo}" host=""> <import resource="validpattern.xml" prefix="/{foo}" host="">
<default key="foo">123</default> <default key="foo">123</default>