Skip to content

Commit

Permalink
fix(xml): update schema urls to use https
Browse files Browse the repository at this point in the history
  • Loading branch information
lincolnthree committed Mar 21, 2023
1 parent ebeac53 commit e6d94da
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<pretty-config xmlns="http://ocpsoft.com/prettyfaces/4.0.0"
<pretty-config xmlns="http://ocpsoft.org/schema/rewrite-config-prettyfaces"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ocpsoft.com/prettyfaces/4.0.0
http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-4.0.0.xsd">
xsi:schemaLocation="http://ocpsoft.org/schema/rewrite-config-prettyfaces
https://www.ocpsoft.org/xml/ns/prettyfaces/rewrite-config-prettyfaces.xsd">

<url-mapping id="index">
<pattern value="/"></pattern>
<view-id>/index.jsf</view-id>
<view-id value="/index.jsf"></view-id>
</url-mapping>

</pretty-config>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<pretty-config xmlns="http://ocpsoft.org/schema/rewrite-config-prettyfaces" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ocpsoft.org/schema/rewrite-config-prettyfaces
http://ocpsoft.org/xml/ns/prettyfaces/rewrite-config-prettyfaces.xsd">
https://www.ocpsoft.org/xml/ns/prettyfaces/rewrite-config-prettyfaces.xsd">

<url-mapping id="foo">
<pattern value="/foo"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<pretty-config xmlns="http://ocpsoft.com/prettyfaces/3.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ocpsoft.com/prettyfaces/3.1.1
http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.1.1.xsd">
https://www.ocpsoft.org/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.1.1.xsd">

<rewrite match="/URL ENCODED" substitute="/url decoded" toCase="lowercase"/>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<pretty-config xmlns="http://ocpsoft.org/schema/rewrite-config-prettyfaces" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ocpsoft.org/schema/rewrite-config-prettyfaces
http://ocpsoft.org/xml/ns/prettyfaces/rewrite-config-prettyfaces.xsd">
https://www.ocpsoft.org/xml/ns/prettyfaces/rewrite-config-prettyfaces.xsd">

<url-mapping id="test">
<pattern value="/validate/#{value}">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<pretty-config xmlns="http://ocpsoft.com/prettyfaces/3.3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ocpsoft.com/prettyfaces/3.3.2 http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.3.2.xsd">
xsi:schemaLocation="http://ocpsoft.com/prettyfaces/3.3.2 https://www.ocpsoft.org/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.3.2.xsd">

<!-- Simple URL mapping -->
<url-mapping>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<pretty-config xmlns="http://ocpsoft.com/prettyfaces/3.3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ocpsoft.com/prettyfaces/3.3.2 http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.3.2.xsd">
xsi:schemaLocation="http://ocpsoft.com/prettyfaces/3.3.2 https://www.ocpsoft.org/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.3.2.xsd">

<!-- Directly accessing view-ids should redirect to the pretty URL -->
<rewrite match="/(.*)\.jsf" substitute="/$1" redirect="302"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<pretty-config xmlns="http://ocpsoft.com/prettyfaces/3.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ocpsoft.com/prettyfaces/3.1.1
http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.1.1.xsd">
https://www.ocpsoft.org/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.1.1.xsd">

<url-mapping id="loop">
<pattern value="/loop.jsf"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<pretty-config xmlns="http://ocpsoft.com/prettyfaces/3.3.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ocpsoft.com/prettyfaces/3.3.3 http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.3.3.xsd">
xsi:schemaLocation="http://ocpsoft.com/prettyfaces/3.3.3 https://www.ocpsoft.org/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.3.3.xsd">

<url-mapping id="no-param">
<pattern value="/no-param" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<pretty-config xmlns="http://ocpsoft.com/prettyfaces/4.0.0"
<pretty-config xmlns="http://ocpsoft.org/schema/rewrite-config-prettyfaces"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ocpsoft.com/prettyfaces/4.0.0
http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-4.0.0.xsd">
xsi:schemaLocation="http://ocpsoft.org/schema/rewrite-config-prettyfaces
https://www.ocpsoft.org/xml/ns/prettyfaces/rewrite-config-prettyfaces.xsd">


<url-mapping id="index">
<pattern value="/default/#{digits}"></pattern>
<view-id>/index.jsf</view-id>
<view-id value="/index.jsf"></view-id>
</url-mapping>

<url-mapping id="index">
<pattern value="/digits/#{/\\d+/ digits}"></pattern>
<view-id>/index.jsf</view-id>
<view-id value="/index.jsf"></view-id>
</url-mapping>

</pretty-config>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<pretty-config xmlns="http://ocpsoft.com/prettyfaces/3.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ocpsoft.com/prettyfaces/3.1.1
http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.1.1.xsd">
https://www.ocpsoft.org/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.1.1.xsd">

<url-mapping id="value">
<pattern value="/#{one}/#{two}"></pattern>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<pretty-config xmlns="http://ocpsoft.com/prettyfaces/4.0.0"
<pretty-config xmlns="http://ocpsoft.org/schema/rewrite-config-prettyfaces"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ocpsoft.com/prettyfaces/4.0.0
http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-4.0.0.xsd">
xsi:schemaLocation="http://ocpsoft.org/schema/rewrite-config-prettyfaces
https://www.ocpsoft.org/xml/ns/prettyfaces/rewrite-config-prettyfaces.xsd">

<url-mapping id="index">
<pattern value="/"></pattern>
<view-id>/index.jsf</view-id>
<view-id value="/index.jsf"></view-id>
</url-mapping>

<url-mapping id="test:link">
<pattern value="/test-link"></pattern>
<view-id>/test.jsf</view-id>
<view-id value="/test.jsf"></view-id>
</url-mapping>

</pretty-config>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<pretty-config xmlns="http://ocpsoft.com/prettyfaces/3.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ocpsoft.com/prettyfaces/3.1.1
http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.1.1.xsd">
https://www.ocpsoft.org/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.1.1.xsd">

<rewrite trailingSlash="remove" outbound="false" redirect="301"/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<pretty-config xmlns="http://ocpsoft.com/prettyfaces/3.1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ocpsoft.com/prettyfaces/3.1.1
http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.1.1.xsd">
https://www.ocpsoft.org/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.1.1.xsd">

<url-mapping id="0">
<pattern value="/project/#{viewProjectBean.projectId}/" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<pretty-config xmlns="http://ocpsoft.com/prettyfaces/3.1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ocpsoft.com/prettyfaces/3.1.1
http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.1.1.xsd">
https://www.ocpsoft.org/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.1.1.xsd">

<url-mapping id="0">
<pattern value="/project/#{viewProjectBean.projectId}/" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<pretty-config xmlns="http://ocpsoft.com/prettyfaces/3.1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ocpsoft.com/prettyfaces/3.1.1
http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.1.1.xsd">
https://www.ocpsoft.org/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.1.1.xsd">

<rewrite match="^(.*[^/])$" substitute="$1/" redirect="chain"
outbound="true" />
Expand Down

0 comments on commit e6d94da

Please sign in to comment.