Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Commit 0071ebb

Browse files
committed
docs(fetch): added comment on security.
1 parent b87ad8e commit 0071ebb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

fetchLatestSnapshot.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66
<pre><?php echo `date`; ?></pre>
77
<pre><?php
88
$ver = $_GET['ver'];
9+
<?php
10+
/*
11+
The url below is the workspace folder for the master build,
12+
which gets regenerated on every build and which
13+
always contains only one version with a unique name.
14+
So this can't be used to rollback to a previous version.
15+
*/
16+
?>
917
$ciBase = 'http://ci.angularjs.org/job/angular.js-angular-master/ws/build/';
1018
$url = $ciBase.'angular-'.$ver.'.zip';
1119
if ( !$ver or !preg_match("/^[\.\-\d\w]+$/", $ver) ) {

0 commit comments

Comments
 (0)