Diff -- /var/www/vhosts/3dshawn.com/repricer.3dshawn.com/_attic/upload.cgi
Diff

/var/www/vhosts/3dshawn.com/repricer.3dshawn.com/_attic/upload.cgi

added on local at 2026-07-01 21:47:37

Added
+17
lines
Removed
-0
lines
Context
0
unchanged
Blobs
from
to 0d2bc94d7ae3
Restore this content →
Unified diff
Naive LCS-based line diff. Additions in emerald, deletions in rose. Both sides decompressed live from BLOB_STORE.
1#!/usr/bin/perl
2#======================================================================
3# RePricer -- legacy redirect stub.
4#
5# This page was renamed to /upload_model.cgi (clearer mapping to the
6# DB tables it writes: models, model_files, model_images, model_tags).
7# Anyone landing here with an old bookmark or marketplace export link
8# gets bounced to the new URL with their query string preserved.
9#======================================================================
10use strict;
11use warnings;
12
13my $qs = $ENV{QUERY_STRING} || '';
14my $loc = '/upload_model.cgi';
15$loc .= '?' . $qs if length $qs;
16print "Status: 301 Moved Permanently\nLocation: $loc\n\n";
17exit;
Keyboard: j next diff k previous diff g top G bottom r restore c compile-check ? help