Skip to content
This repository has been archived by the owner on Nov 13, 2019. It is now read-only.

Commit

Permalink
fix regex to avoid problems with repomd.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
heroldus committed Nov 4, 2014
1 parent c53ab33 commit 8f5bbe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/webapp/WEB-INF/urlrewrite.xml
Expand Up @@ -3,7 +3,7 @@
"http://www.tuckey.org/res/dtds/urlrewrite4.0.dtd">
<urlrewrite>
<rule>
<from>^/repo/(.*rhel-[567])([\.\d]*|Server)([^X]*)$</from>
<from>^/repo/(.*rhel-[567])([\.\d]*|Server)(-.*)$</from>
<to>/repo/$1X$3</to>
</rule>
</urlrewrite>

0 comments on commit 8f5bbe0

Please sign in to comment.